diff options
Diffstat (limited to 'indra/llrender/llgl.cpp')
-rw-r--r-- | indra/llrender/llgl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp index 9ea6bfdb4e..e15157af05 100644 --- a/indra/llrender/llgl.cpp +++ b/indra/llrender/llgl.cpp @@ -1206,14 +1206,14 @@ bool LLGLManager::initGL() stop_glerror(); glGetIntegerv(GL_MAX_SAMPLES, &mMaxSamples); stop_glerror(); + if (mGLVersion >= 4.59f) { glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY, &mMaxAnisotropy); + stop_glerror(); } - stop_glerror(); - - initGLStates(); + initGLStates(); stop_glerror(); return true; |