Collection of theoretical improvements for ATI cards, as well as a couple memory leaks. Thanks to Shyotl for bringing them up and offering solutions.
Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
@@ -99,7 +99,17 @@ void LLFloaterHardwareSettings::refreshEnabledState()
|
||||
!gGLManager.mHasVertexBufferObject)
|
||||
{
|
||||
childSetEnabled("vbo", FALSE);
|
||||
//Streaming VBOs -Shyotl
|
||||
childSetEnabled("vbo_stream", FALSE);
|
||||
}
|
||||
else
|
||||
#if LL_DARWIN
|
||||
childSetEnabled("vbo_stream", FALSE); //Hardcoded disable on mac
|
||||
childSetValue("vbo_stream", (LLSD::Boolean) FALSE); //Hardcoded disable on mac
|
||||
#else
|
||||
childSetEnabled("vbo_stream", LLVertexBuffer::sEnableVBOs);
|
||||
#endif
|
||||
|
||||
|
||||
// if no windlight shaders, turn off nighttime brightness, gamma, and fog distance
|
||||
childSetEnabled("gamma", !gPipeline.canUseWindLightShaders());
|
||||
|
||||
Reference in New Issue
Block a user