SH-2625 Fix for window size reverting to non-maximized whenever shaders are loaded.

meow-7.2.2
Dave Parks 2011-10-26 11:19:04 -05:00
parent 7dafa1be79
commit da1898d1cb
2 changed files with 1 additions and 2 deletions

View File

@ -553,7 +553,7 @@ bool LLGLManager::initGL()
&mDriverVersionVendorString );
mGLVersion = mDriverVersionMajor + mDriverVersionMinor * .1f;
// Trailing space necessary to keep "nVidia Corpor_ati_on" cards
// from being recognized as ATI.
if (mGLVendor.substr(0,4) == "ATI ")

View File

@ -584,7 +584,6 @@ void LLViewerShaderMgr::setShaders()
if (gViewerWindow)
{
gViewerWindow->setCursor(UI_CURSOR_ARROW);
gViewerWindow->getWindow()->restore();
}
gPipeline.createGLBuffers();