summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llglslshader.cpp12
-rw-r--r--indra/llrender/llglslshader.h5
2 files changed, 7 insertions, 10 deletions
diff --git a/indra/llrender/llglslshader.cpp b/indra/llrender/llglslshader.cpp
index 458f83aabe..74c8b2e448 100644
--- a/indra/llrender/llglslshader.cpp
+++ b/indra/llrender/llglslshader.cpp
@@ -62,20 +62,18 @@ U32 LLGLSLShader::sTotalDrawCalls = 0;
LLGLSLShader gUIProgram;
LLGLSLShader gSolidColorProgram;
-// NOTE:Keep gShaderConsts* and LLGLSLShader::ShaderConsts_e in sync!
+// NOTE: Keep gShaderConsts* and LLGLSLShader::ShaderConsts_e in sync!
const std::string gShaderConstsKey[ LLGLSLShader::NUM_SHADER_CONSTS ] =
{
- "LL_SHADER_CONST_CLOUD_DEPTH"
- , "LL_SHADER_CONST_MOON_DEPTH"
+ "LL_SHADER_CONST_CLOUD_MOON_DEPTH"
, "LL_SHADER_CONST_STAR_DEPTH"
};
-// NOTE:Keep gShaderConsts* and LLGLSLShader::ShaderConsts_e in sync!
+// NOTE: Keep gShaderConsts* and LLGLSLShader::ShaderConsts_e in sync!
const std::string gShaderConstsVal[ LLGLSLShader::NUM_SHADER_CONSTS ] =
{
- "0.999985" // SHADER_CONST_CLOUD_DEPTH // SL-14113
- , "0.999985" // SHADER_CONST_MOON_DEPTH // SL-14113
- , "0.999995" // SHADER_CONST_STAR_DEPTH // SL-14113
+ "0.999985" // SHADER_CONST_CLOUD_MOON_DEPTH // SL-14113
+ , "0.999995" // SHADER_CONST_STAR_DEPTH // SL-14113
};
diff --git a/indra/llrender/llglslshader.h b/indra/llrender/llglslshader.h
index 35e796e961..e2d0031740 100644
--- a/indra/llrender/llglslshader.h
+++ b/indra/llrender/llglslshader.h
@@ -67,11 +67,10 @@ public:
class LLGLSLShader
{
public:
- // NOTE:Keep gShaderConsts and LLGLSLShader::ShaderConsts_e in sync!
+ // NOTE: Keep gShaderConsts and LLGLSLShader::ShaderConsts_e in sync!
enum eShaderConsts
{
- SHADER_CONST_CLOUD_DEPTH
- , SHADER_CONST_MOON_DEPTH
+ SHADER_CONST_CLOUD_MOON_DEPTH
, SHADER_CONST_STAR_DEPTH
, NUM_SHADER_CONSTS
};