|
@@ -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)
|