Browse Source

Fix ifdef.

Lasse Öörni 9 years ago
parent
commit
b8c03fb7ec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Urho3D/Graphics/OpenGL/OGLGraphics.cpp

+ 1 - 1
Source/Urho3D/Graphics/OpenGL/OGLGraphics.cpp

@@ -2083,7 +2083,7 @@ PODVector<int> Graphics::GetMultiSampleLevels() const
     // No multisampling always supported
     // No multisampling always supported
     ret.Push(1);
     ret.Push(1);
 
 
-#ifndef GL_ES
+#ifndef GL_ES_VERSION_2_0
     int maxSamples = 0;
     int maxSamples = 0;
     glGetIntegerv(GL_MAX_SAMPLES, &maxSamples);
     glGetIntegerv(GL_MAX_SAMPLES, &maxSamples);
     for (int i = 2; i <= maxSamples && i <= 16; i *= 2)
     for (int i = 2; i <= maxSamples && i <= 16; i *= 2)