mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
mac crashfix and compilation correction. the former's down to a typo, the latter, needed specification for which class->setTexture(near identical sig) to use
This commit is contained in:
parent
2046926b27
commit
c0226d4640
2 changed files with 2 additions and 2 deletions
|
|
@ -771,7 +771,7 @@ bool GBitmap::getColor(const U32 x, const U32 y, ColorI& rColor) const
|
|||
rColor.set( *pLoc, *pLoc, *pLoc, *pLoc );
|
||||
break;
|
||||
case GFXFormatL16:
|
||||
rColor.set(U8(U16((pLoc[0] << 8) + pLoc[2])), 0, 0, 0);
|
||||
rColor.set(U8(U16((pLoc[0] << 8) + pLoc[1])), 0, 0, 0);
|
||||
case GFXFormatR8G8B8:
|
||||
case GFXFormatR8G8B8X8:
|
||||
rColor.set( pLoc[0], pLoc[1], pLoc[2], 255 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue