Fix clear color in theming test

This commit is contained in:
ws909 2023-01-29 22:57:30 +01:00
parent bcd5cf6f8e
commit a63905b2f6

View File

@ -193,10 +193,10 @@ int main(int argc, char** argv)
while (!glfwWindowShouldClose(window))
{
glClearColor(
theme_colors[cur_theme_color][0] / 255.0f,
theme_colors[cur_theme_color][1] / 255.0f,
theme_colors[cur_theme_color][2] / 255.0f,
theme_colors[cur_theme_color][3] / 255.0f
theme_colors[cur_theme_color][0],
theme_colors[cur_theme_color][1],
theme_colors[cur_theme_color][2],
theme_colors[cur_theme_color][3]
);
glClear(GL_COLOR_BUFFER_BIT);
glfwSwapBuffers(window);