summaryrefslogtreecommitdiff
path: root/indra/llrender/llgl.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-08-22 20:50:31 +0800
committerErik Kundiman <erik@megapahit.org>2023-08-22 20:50:31 +0800
commit5b9cb5bba3c12b1b5c86ba56d43ccf06b83edc14 (patch)
tree24bde7cde1fbb302406c3917ce1580146b3341e3 /indra/llrender/llgl.cpp
parent5918eedb06b6441e5608ed7958a2b3ca01dc8010 (diff)
Can link to libglvnd, no need to set LEGACY pref
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 a10bbbf726..346973e3fd 100644
--- a/indra/llrender/llgl.cpp
+++ b/indra/llrender/llgl.cpp
@@ -1604,7 +1604,7 @@ void LLGLState::resetTextureStates()
for (S32 j = maxTextureUnits-1; j >=0; j--)
{
gGL.getTexUnit(j)->activate();
- glClientActiveTextureARB(GL_TEXTURE0_ARB+j);
+ glClientActiveTexture(GL_TEXTURE0_ARB+j);
j == 0 ? gGL.getTexUnit(j)->enable(LLTexUnit::TT_TEXTURE) : gGL.getTexUnit(j)->disable();
}
}