mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
mac compilation correction - casting flaw
This commit is contained in:
parent
e15f17354d
commit
da492a589e
1 changed files with 2 additions and 2 deletions
|
|
@ -724,7 +724,7 @@ void ConvexShape::prepRenderImage( SceneRenderState *state )
|
||||||
|
|
||||||
// We sort by the material then vertex buffer.
|
// We sort by the material then vertex buffer.
|
||||||
ri->defaultKey = matInst->getStateHint();
|
ri->defaultKey = matInst->getStateHint();
|
||||||
ri->defaultKey2 = (U32)ri->vertBuff; // Not 64bit safe!
|
ri->defaultKey2 = (U32)(uintptr_t)ri->vertBuff; // Not 64bit safe!
|
||||||
|
|
||||||
// Submit our RenderInst to the RenderPassManager
|
// Submit our RenderInst to the RenderPassManager
|
||||||
state->getRenderPass()->addInst(ri);
|
state->getRenderPass()->addInst(ri);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue