summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-02-01 17:09:34 -0600
committerDave Parks <davep@lindenlab.com>2023-02-01 17:09:34 -0600
commit6f136d403b6bbccae80661c6585f29e1caed3a7c (patch)
tree9ca9853598555139f980fc915ec8646abfd58f21 /indra/llrender
parentc136c5ece4a6baf3b0a34c32211e00a3d0fc4b69 (diff)
SL-19000 Fix various 3D UI components not respecting depth buffer. Incidental decruft. Do I get a prize for 1000th jira?
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llglstates.h39
1 files changed, 3 insertions, 36 deletions
diff --git a/indra/llrender/llglstates.h b/indra/llrender/llglstates.h
index 27ab142925..c46585eab4 100644
--- a/indra/llrender/llglstates.h
+++ b/indra/llrender/llglstates.h
@@ -57,7 +57,7 @@ class LLGLSDefault
{
protected:
LLGLEnable mColorMaterial;
- LLGLDisable mAlphaTest, mBlend, mCullFace, mDither, mFog,
+ LLGLDisable mAlphaTest, mBlend, mCullFace, mDither,
mLineSmooth, mLineStipple, mNormalize, mPolygonSmooth,
mGLMultisample;
public:
@@ -70,7 +70,6 @@ public:
mBlend(GL_BLEND),
mCullFace(GL_CULL_FACE),
mDither(GL_DITHER),
- mFog(GL_FOG),
mLineSmooth(GL_LINE_SMOOTH),
mLineStipple(GL_LINE_STIPPLE),
mNormalize(GL_NORMALIZE),
@@ -82,11 +81,11 @@ public:
class LLGLSObjectSelect
{
protected:
- LLGLDisable mBlend, mFog, mAlphaTest;
+ LLGLDisable mBlend, mAlphaTest;
LLGLEnable mCullFace;
public:
LLGLSObjectSelect()
- : mBlend(GL_BLEND), mFog(GL_FOG),
+ : mBlend(GL_BLEND),
mAlphaTest(GL_ALPHA_TEST),
mCullFace(GL_CULL_FACE)
{ }
@@ -130,28 +129,6 @@ public:
//----------------------------------------------------------------------------
-class LLGLSFog
-{
-protected:
- LLGLEnable mFog;
-public:
- LLGLSFog()
- : mFog(GL_FOG)
- {}
-};
-
-class LLGLSNoFog
-{
-protected:
- LLGLDisable mFog;
-public:
- LLGLSNoFog()
- : mFog(GL_FOG)
- {}
-};
-
-//----------------------------------------------------------------------------
-
class LLGLSPipeline
{
protected:
@@ -175,16 +152,6 @@ public:
{ }
};
-class LLGLSPipelineEmbossBump
-{
-protected:
- LLGLDisable mFog;
-public:
- LLGLSPipelineEmbossBump()
- : mFog(GL_FOG)
- { }
-};
-
class LLGLSPipelineSelection
{
protected: