mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
suggested revision
This commit is contained in:
parent
3c1c88d96b
commit
5615b642df
1 changed files with 4 additions and 3 deletions
|
|
@ -223,8 +223,8 @@ void TSMesh::innerRender( TSMaterialList *materials, const TSRenderState &rdata,
|
||||||
// We need to have a material.
|
// We need to have a material.
|
||||||
if ( draw.matIndex & TSDrawPrimitive::NoMaterial )
|
if ( draw.matIndex & TSDrawPrimitive::NoMaterial )
|
||||||
continue;
|
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
|
// for inspection if you happen to be running in a debugger and can't do bit
|
||||||
// operations in your head.
|
// operations in your head.
|
||||||
S32 triangles = draw.matIndex & TSDrawPrimitive::Triangles;
|
S32 triangles = draw.matIndex & TSDrawPrimitive::Triangles;
|
||||||
|
|
@ -237,8 +237,9 @@ void TSMesh::innerRender( TSMaterialList *materials, const TSRenderState &rdata,
|
||||||
TORQUE_UNUSED(fan);
|
TORQUE_UNUSED(fan);
|
||||||
TORQUE_UNUSED(indexed);
|
TORQUE_UNUSED(indexed);
|
||||||
TORQUE_UNUSED(type);
|
TORQUE_UNUSED(type);
|
||||||
|
//define TORQUE_DEBUG_BREAK_INSPECT, and insert debug break here to inspect the above elements at runtime
|
||||||
#endif
|
#endif
|
||||||
*/
|
|
||||||
const U32 matIndex = draw.matIndex & TSDrawPrimitive::MaterialMask;
|
const U32 matIndex = draw.matIndex & TSDrawPrimitive::MaterialMask;
|
||||||
BaseMatInstance *matInst = materials->getMaterialInst( matIndex );
|
BaseMatInstance *matInst = materials->getMaterialInst( matIndex );
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue