update clear color

This commit is contained in:
2025-11-09 14:20:53 +01:00
parent abb33b6f1f
commit da536b8d7d

View File

@@ -262,6 +262,8 @@ int main() {
// ApplyTransforms(SIERPINSKI_TRIANGLE);
GenNewFractal();
glClearColor(0.4f, 0.4f, 0.4f, 1.0f);
while (!glfwWindowShouldClose(window)) {
// ScopedTimer timer("Main Loop");
@@ -296,7 +298,6 @@ int main() {
glfwPollEvents();
glClear(GL_COLOR_BUFFER_BIT);
glClearColor(0, 0, 0, 1);
int width, height;
glfwGetWindowSize(window, &width, &height);