mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
suggested revision
This commit is contained in:
parent
3c1c88d96b
commit
5615b642df
|
|
@ -223,8 +223,8 @@ void TSMesh::innerRender( TSMaterialList *materials, const TSRenderState &rdata,
|
|||
// We need to have a material.
|
||||
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,8 +237,9 @@ 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;
|
||||
BaseMatInstance *matInst = materials->getMaterialInst( matIndex );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue