mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-04 20:15:16 +00:00
Update for float, double and unsigned char, unsigned short, short, etc. char was left alone: read why here http://msdn.microsoft.com/en-us/library/cc953fe1.aspx
This commit is contained in:
parent
4c35fd37af
commit
7a8f46b19f
36 changed files with 75 additions and 75 deletions
|
|
@ -178,8 +178,8 @@ void GuiBitmapCtrl::onRender(Point2I offset, const RectI &updateRect)
|
|||
GFXTextureObject* texture = mTextureObject;
|
||||
RectI srcRegion;
|
||||
RectI dstRegion;
|
||||
float xdone = ((float)getExtent().x/(float)texture->mBitmapSize.x)+1;
|
||||
float ydone = ((float)getExtent().y/(float)texture->mBitmapSize.y)+1;
|
||||
F32 xdone = ((F32)getExtent().x/(F32)texture->mBitmapSize.x)+1;
|
||||
F32 ydone = ((F32)getExtent().y/(F32)texture->mBitmapSize.y)+1;
|
||||
|
||||
S32 xshift = mStartPoint.x%texture->mBitmapSize.x;
|
||||
S32 yshift = mStartPoint.y%texture->mBitmapSize.y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue