mirror of
https://github.com/glfw/glfw.git
synced 2025-04-23 17:12:50 +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))
|
while (!glfwWindowShouldClose(window))
|
||||||
{
|
{
|
||||||
glClearColor(
|
glClearColor(
|
||||||
theme_colors[cur_theme_color][0] / 255.0f,
|
theme_colors[cur_theme_color][0],
|
||||||
theme_colors[cur_theme_color][1] / 255.0f,
|
theme_colors[cur_theme_color][1],
|
||||||
theme_colors[cur_theme_color][2] / 255.0f,
|
theme_colors[cur_theme_color][2],
|
||||||
theme_colors[cur_theme_color][3] / 255.0f
|
theme_colors[cur_theme_color][3]
|
||||||
);
|
);
|
||||||
glClear(GL_COLOR_BUFFER_BIT);
|
glClear(GL_COLOR_BUFFER_BIT);
|
||||||
glfwSwapBuffers(window);
|
glfwSwapBuffers(window);
|
||||||
|
Loading…
Reference in New Issue
Block a user