diff --git a/util/test/demos/gl/gl_test.h b/util/test/demos/gl/gl_test.h index 848b23e8f..54b00ac6e 100644 --- a/util/test/demos/gl/gl_test.h +++ b/util/test/demos/gl/gl_test.h @@ -79,7 +79,7 @@ struct OpenGLGraphicsTest : public GraphicsTest GLuint DefaultTriProgram; GLuint swapBlitFBO; - static constexpr GLfloat DefaultClearCol[] = {0.2f, 0.2f, 0.2f, 1.0f}; + GLfloat DefaultClearCol[4] = {0.2f, 0.2f, 0.2f, 1.0f}; GraphicsWindow *mainWindow = NULL; void *mainContext = NULL;