From db74623ed5ec10a9c61847a163fa88b7eb0f6c0d Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 30 Jan 2026 15:41:05 +0000 Subject: [PATCH] Change array to plain member * Some clang versions seem to complain about the storage for this being missing even if it's constexpr, since it's not important we make it a plain member. --- util/test/demos/gl/gl_test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;