Merge pull request #1502 from Lopuska/patch-1

Glow buffer graphic corruption fix on OpenGL.
This commit is contained in:
Areloch 2016-01-16 13:07:06 -06:00
commit 41038ec9ae

View file

@ -107,8 +107,7 @@ void RenderTexTargetBinManager::initPersistFields()
bool RenderTexTargetBinManager::setTargetSize(const Point2I &newTargetSize)
{
if( GFX->getAdapterType() != OpenGL && // Targets need to match up exactly in size on OpenGL.
mTargetSize.x >= newTargetSize.x &&
if( mTargetSize.x >= newTargetSize.x &&
mTargetSize.y >= newTargetSize.y )
return true;