summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolbump.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-09-10 10:17:43 +0800
committerErik Kundiman <erik@megapahit.org>2023-09-10 10:17:43 +0800
commit040fe22d93fe67a73fc33493057f06f07371dbdd (patch)
treea392cc84a82826652a0d92a005bc5aaf48dabc86 /indra/newview/lldrawpoolbump.cpp
parente67022465d8189eb30135b6b7c0fe477b3b91819 (diff)
Preprocess non portable OpenGL code
Diffstat (limited to 'indra/newview/lldrawpoolbump.cpp')
-rw-r--r--indra/newview/lldrawpoolbump.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolbump.cpp b/indra/newview/lldrawpoolbump.cpp
index cc454417c6..dafc4a0a0a 100644
--- a/indra/newview/lldrawpoolbump.cpp
+++ b/indra/newview/lldrawpoolbump.cpp
@@ -666,7 +666,9 @@ void LLDrawPoolBump::beginBump()
void LLDrawPoolBump::renderBump(U32 pass)
{
LL_PROFILE_ZONE_SCOPED_CATEGORY_DRAWPOOL; //LL_RECORD_BLOCK_TIME(FTM_RENDER_BUMP);
+#if GL_VERSION_1_1
LLGLDisable fog(GL_FOG);
+#endif
LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE, GL_LEQUAL);
LLGLEnable blend(GL_BLEND);
gGL.diffuseColor4f(1,1,1,1);