Browse Source

remove glew references in OGLGraphicsImpl.h when building with emscripten

t 11 years ago
parent
commit
e60cbcdab5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Urho3D/Graphics/OpenGL/OGLGraphicsImpl.h

+ 1 - 1
Source/Urho3D/Graphics/OpenGL/OGLGraphicsImpl.h

@@ -26,7 +26,7 @@
 #include "../../Container/HashMap.h"
 #include "../../Container/HashMap.h"
 #include "../../Core/Timer.h"
 #include "../../Core/Timer.h"
 
 
-#if defined(ANDROID) || defined (RPI)
+#if defined(ANDROID) || defined (RPI) || defined (EMSCRIPTEN)
 #include <GLES2/gl2.h>
 #include <GLES2/gl2.h>
 #include <GLES2/gl2ext.h>
 #include <GLES2/gl2ext.h>
 #elif defined(IOS)
 #elif defined(IOS)