FIRE-11830: RenderResolutionDivisor broken after merge.

Tonya Souther 2013-12-14 17:33:59 -06:00
parent e023f0141b
commit c8753db20e
1 changed files with 7 additions and 1 deletions

View File

@ -828,7 +828,13 @@ void LLPipeline::resizeScreenTexture()
GLuint resX = gViewerWindow->getWorldViewWidthRaw();
GLuint resY = gViewerWindow->getWorldViewHeightRaw();
if ((resX != mScreen.getWidth()) || (resY != mScreen.getHeight()))
//<FS:TS> FIRE-11830: RenderResolutionDivisor broken
// We need to reallocate the screen buffer even if the size
// hasn't changed, since changing that debug setting only
// resizes the screen texture to itself and depends on the
// side effects. Found by Felis Darwin.
//if ((resX != mScreen.getWidth()) || (resY != mScreen.getHeight()))
//</FS:TS> FIRE-11830
{
releaseScreenBuffers();
if (!allocateScreenBuffer(resX,resY))