Remove redundant methods of checking if shaders are enabled. Just use LLGLSLShader::sNoFixedFunction.
This commit is contained in:
@@ -1686,7 +1686,6 @@ class LLAdvancedToggleWireframe : public view_listener_t
|
||||
// [/RLVa:KB]
|
||||
// gUseWireframe = !(gUseWireframe);
|
||||
// gWindowResized = TRUE; // Singu Note: We don't use this (yet?)
|
||||
LLPipeline::updateRenderDeferred();
|
||||
gPipeline.resetVertexBuffers();
|
||||
// return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user