summaryrefslogtreecommitdiff
path: root/src/sdl_context.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdl_context.hpp')
-rw-r--r--src/sdl_context.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdl_context.hpp b/src/sdl_context.hpp
index 7b96df7..77aad72 100644
--- a/src/sdl_context.hpp
+++ b/src/sdl_context.hpp
@@ -12,7 +12,7 @@ class SdlContext {
int setAttribute(SDL_GLattr attr, int value) const;
- consteval const char* glslVersion()
+ constexpr const char* glslVersion()
{
#if defined(IMGUI_IMPL_OPENGL_ES2)
// GL ES 2.0 + GLSL 100