Remove redundant methods of checking if shaders are enabled. Just use LLGLSLShader::sNoFixedFunction.

This commit is contained in:
Shyotl
2015-05-15 03:11:31 -05:00
parent 2131067436
commit 966c5aa409
23 changed files with 199 additions and 322 deletions

View File

@@ -472,7 +472,7 @@ public:
static const LLCachedControl<bool> debug_show_render_info("DebugShowRenderInfo");
if (debug_show_render_info)
{
if (gPipeline.getUseVertexShaders() == 0)
if (!LLGLSLShader::sNoFixedFunction)
{
addText(xpos, ypos, "Shaders Disabled");
ypos += y_inc;