mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
use of get<some name> methods that already return nulls/false when attempting to load
in contexts where we would want to try first
This commit is contained in:
parent
a43458677a
commit
40974dd14b
11 changed files with 31 additions and 31 deletions
|
|
@ -155,7 +155,7 @@ void GuiChunkedBitmapCtrl::renderRegion(const Point2I &offset, const Point2I &ex
|
|||
void GuiChunkedBitmapCtrl::onRender(Point2I offset, const RectI &updateRect)
|
||||
{
|
||||
|
||||
if( mBitmapAsset.notNull() )
|
||||
if(getBitmap())
|
||||
{
|
||||
RectI boundsRect( offset, getExtent());
|
||||
GFX->getDrawUtil()->drawBitmapStretch(getBitmap(), boundsRect, GFXBitmapFlip_None, GFXTextureFilterLinear);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue