mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 14:00:39 +00:00
Merge pull request #1502 from Lopuska/patch-1
Glow buffer graphic corruption fix on OpenGL.
This commit is contained in:
commit
41038ec9ae
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue