FIRE-11830: RenderResolutionDivisor broken after merge.
parent
e023f0141b
commit
c8753db20e
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue