diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/render/opengl/mglfunctions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/opengl/mglfunctions.h b/src/render/opengl/mglfunctions.h index 1126b48bb..66c7d15dc 100644 --- a/src/render/opengl/mglfunctions.h +++ b/src/render/opengl/mglfunctions.h @@ -35,7 +35,7 @@ LOGGER_H #define getFunction(name) nullptr #elif defined __native_client__ #define getFunction(name) glGetProcAddressREGAL(name) -#elif defined(__SWITCH__) +#elif defined(USE_SDL2) #define getFunction(name) SDL_GL_GetProcAddress(name) #else // WIN32 #define getFunction(name) glXGetProcAddress(\ |