mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 14:00:39 +00:00
Update ImageAsset.cpp
This commit is contained in:
parent
f5f50723ed
commit
7b73ce7a2f
1 changed files with 1 additions and 5 deletions
|
|
@ -381,12 +381,8 @@ GFXTexHandle ImageAsset::getTexture(GFXTextureProfile* requestedProfile)
|
|||
mIsValidImage = true;
|
||||
mResourceMap.insert(requestedProfile, mNamedTarget->getTexture());
|
||||
mChangeSignal.trigger();
|
||||
}
|
||||
if (mNamedTarget == NULL)
|
||||
return nullptr;
|
||||
else
|
||||
return mNamedTarget->getTexture();
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue