Browse Source

Fixed undefined constants on OpenGL ES.

Lasse Öörni 13 years ago
parent
commit
bb0bd71d1d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Engine/Graphics/OpenGL/OGLGraphics.cpp

+ 2 - 0
Engine/Graphics/OpenGL/OGLGraphics.cpp

@@ -109,12 +109,14 @@ static const unsigned glDestBlend[] =
     GL_DST_ALPHA
 };
 
+#ifndef GL_ES_VERSION_2_0
 static const unsigned glFillMode[] =
 {
     GL_FILL,
     GL_LINE,
     GL_POINT
 };
+#endif
 
 static const unsigned glStencilOps[] =
 {