summaryrefslogtreecommitdiff
path: root/indra/llrender/llgl.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-09-11 13:53:15 +0800
committerErik Kundiman <erik@megapahit.org>2023-09-11 13:53:15 +0800
commita26946b3dd9962a0d0205de6a26d5322fc38546c (patch)
treea3d84fdcbe52c6926c2f83f0bf4d9804feeae066 /indra/llrender/llgl.cpp
parent90b837f670441311623cc8ed05c54e5d3e22b19a (diff)
Use more portable GL_TEXTURE_MAX_ANISOTROPY_EXT
Diffstat (limited to 'indra/llrender/llgl.cpp')
-rw-r--r--indra/llrender/llgl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp
index 5d93145de9..df78ecad8b 100644
--- a/indra/llrender/llgl.cpp
+++ b/indra/llrender/llgl.cpp
@@ -1236,7 +1236,7 @@ bool LLGLManager::initGL()
if (mGLVersion >= 4.59f)
{
- glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY, &mMaxAnisotropy);
+ glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &mMaxAnisotropy);
}
initGLStates();