Skip to content

Commit

Permalink
GLSupport: fix compilation on emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Feb 12, 2022
1 parent 073e99f commit 69b020c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RenderSystems/GLSupport/src/EGL/OgreEGLSupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ namespace Ogre {

EGLDisplay EGLSupport::getGLDisplay(void)
{
#if defined(EGL_VERSION_1_5) && OGRE_PLATFORM != OGRE_PLATFORM_ANDROID
#if defined(EGL_VERSION_1_5) && OGRE_PLATFORM != OGRE_PLATFORM_ANDROID && OGRE_PLATFORM != OGRE_PLATFORM_EMSCRIPTEN
static auto eglQueryDevicesEXT = (PFNEGLQUERYDEVICESEXTPROC)eglGetProcAddress("eglQueryDevicesEXT");
static auto eglQueryDeviceStringEXT =
(PFNEGLQUERYDEVICESTRINGEXTPROC)eglGetProcAddress("eglQueryDeviceStringEXT");
Expand Down

0 comments on commit 69b020c

Please sign in to comment.