diff options
author | cpasjuste <cpasjuste@gmail.com> | 2020-04-23 11:16:31 +0200 |
---|---|---|
committer | cpasjuste <cpasjuste@gmail.com> | 2020-04-23 11:16:31 +0200 |
commit | e124615493f4f84d372a99ea604220a8e850dde1 (patch) | |
tree | af5a867b9acc4b528b962066cbf663cca95770b2 /src/render/opengl | |
parent | 177077c6563245504e4aa443cce3bdba7c65db42 (diff) | |
download | plus-e124615493f4f84d372a99ea604220a8e850dde1.tar.gz plus-e124615493f4f84d372a99ea604220a8e850dde1.tar.bz2 plus-e124615493f4f84d372a99ea604220a8e850dde1.tar.xz plus-e124615493f4f84d372a99ea604220a8e850dde1.zip |
switch: enable opengles2 renderer
Diffstat (limited to 'src/render/opengl')
-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)) |