mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 07:20:40 +00:00
commit
b1d2ba8412
8 changed files with 16 additions and 21 deletions
|
|
@ -224,7 +224,7 @@ void TSMesh::innerRender( TSMaterialList *materials, const TSRenderState &rdata,
|
|||
if ( draw.matIndex & TSDrawPrimitive::NoMaterial )
|
||||
continue;
|
||||
|
||||
#ifdef TORQUE_DEBUG
|
||||
#ifdef TORQUE_DEBUG_BREAK_INSPECT
|
||||
// for inspection if you happen to be running in a debugger and can't do bit
|
||||
// operations in your head.
|
||||
S32 triangles = draw.matIndex & TSDrawPrimitive::Triangles;
|
||||
|
|
@ -237,6 +237,7 @@ void TSMesh::innerRender( TSMaterialList *materials, const TSRenderState &rdata,
|
|||
TORQUE_UNUSED(fan);
|
||||
TORQUE_UNUSED(indexed);
|
||||
TORQUE_UNUSED(type);
|
||||
//define TORQUE_DEBUG_BREAK_INSPECT, and insert debug break here to inspect the above elements at runtime
|
||||
#endif
|
||||
|
||||
const U32 matIndex = draw.matIndex & TSDrawPrimitive::MaterialMask;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue