mirror of
https://github.com/glfw/glfw.git
synced 2025-02-19 23:20:35 +00:00
Fix clear color in theming test
This commit is contained in:
parent
bcd5cf6f8e
commit
a63905b2f6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user