mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +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)
|
bool RenderTexTargetBinManager::setTargetSize(const Point2I &newTargetSize)
|
||||||
{
|
{
|
||||||
if( GFX->getAdapterType() != OpenGL && // Targets need to match up exactly in size on OpenGL.
|
if( mTargetSize.x >= newTargetSize.x &&
|
||||||
mTargetSize.x >= newTargetSize.x &&
|
|
||||||
mTargetSize.y >= newTargetSize.y )
|
mTargetSize.y >= newTargetSize.y )
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue