diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-08-22 20:50:31 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-08-22 20:50:31 +0800 |
commit | 5b9cb5bba3c12b1b5c86ba56d43ccf06b83edc14 (patch) | |
tree | 24bde7cde1fbb302406c3917ce1580146b3341e3 /indra/llrender/llrender.cpp | |
parent | 5918eedb06b6441e5608ed7958a2b3ca01dc8010 (diff) |
Can link to libglvnd, no need to set LEGACY pref
Diffstat (limited to 'indra/llrender/llrender.cpp')
-rw-r--r-- | indra/llrender/llrender.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp index 72cca1f2a2..ba776f3b2f 100644 --- a/indra/llrender/llrender.cpp +++ b/indra/llrender/llrender.cpp @@ -122,7 +122,7 @@ void LLTexUnit::refreshState(void) gGL.flush(); - glActiveTextureARB(GL_TEXTURE0_ARB + mIndex); + glActiveTexture(GL_TEXTURE0_ARB + mIndex); if (mCurrTexType != TT_NONE) { @@ -143,7 +143,7 @@ void LLTexUnit::activate(void) if ((S32)gGL.mCurrTextureUnitIndex != mIndex || gGL.mDirty) { gGL.flush(); - glActiveTextureARB(GL_TEXTURE0_ARB + mIndex); + glActiveTexture(GL_TEXTURE0_ARB + mIndex); gGL.mCurrTextureUnitIndex = mIndex; } } @@ -187,7 +187,7 @@ void LLTexUnit::bindFast(LLTexture* texture) { LLImageGL* gl_tex = texture->getGLTexture(); - glActiveTextureARB(GL_TEXTURE0_ARB + mIndex); + glActiveTexture(GL_TEXTURE0_ARB + mIndex); gGL.mCurrTextureUnitIndex = mIndex; mCurrTexture = gl_tex->getTexName(); if (!mCurrTexture) |