mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Addresses roughly half of the C4189 errors though the following methodologies:
1) truly unused vars removed 2) vars leading to remmed out code for debugging remmed in turn. left out: vars in macros.
This commit is contained in:
parent
b24bdfbc8b
commit
555610f69f
8 changed files with 9 additions and 15 deletions
|
|
@ -223,7 +223,7 @@ void TSMesh::innerRender( TSMaterialList *materials, const TSRenderState &rdata,
|
|||
// We need to have a material.
|
||||
if ( draw.matIndex & TSDrawPrimitive::NoMaterial )
|
||||
continue;
|
||||
|
||||
/*
|
||||
#ifdef TORQUE_DEBUG
|
||||
// for inspection if you happen to be running in a debugger and can't do bit
|
||||
// operations in your head.
|
||||
|
|
@ -238,7 +238,7 @@ void TSMesh::innerRender( TSMaterialList *materials, const TSRenderState &rdata,
|
|||
TORQUE_UNUSED(indexed);
|
||||
TORQUE_UNUSED(type);
|
||||
#endif
|
||||
|
||||
*/
|
||||
const U32 matIndex = draw.matIndex & TSDrawPrimitive::MaterialMask;
|
||||
BaseMatInstance *matInst = materials->getMaterialInst( matIndex );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue