diff options
Diffstat (limited to 'src/render/opengl/mglfunctions.h')
-rw-r--r-- | src/render/opengl/mglfunctions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/opengl/mglfunctions.h b/src/render/opengl/mglfunctions.h index 11b387fdb..1126b48bb 100644 --- a/src/render/opengl/mglfunctions.h +++ b/src/render/opengl/mglfunctions.h @@ -35,6 +35,8 @@ LOGGER_H #define getFunction(name) nullptr #elif defined __native_client__ #define getFunction(name) glGetProcAddressREGAL(name) +#elif defined(__SWITCH__) +#define getFunction(name) SDL_GL_GetProcAddress(name) #else // WIN32 #define getFunction(name) glXGetProcAddress(\ reinterpret_cast<const GLubyte*>(name)) |