Browse Source

remove glew references in OGLGraphicsImpl.h when building with emscripten

t 11 năm trước cách đây
mục cha
commit
e60cbcdab5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 "../../Core/Timer.h"
 
-#if defined(ANDROID) || defined (RPI)
+#if defined(ANDROID) || defined (RPI) || defined (EMSCRIPTEN)
 #include <GLES2/gl2.h>
 #include <GLES2/gl2ext.h>
 #elif defined(IOS)