mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Fix TAB vs Spaces on Engine/source/gfx/primBuilder.cpp
This commit is contained in:
parent
fa1b2d87b1
commit
a7434635cb
1 changed files with 13 additions and 13 deletions
|
|
@ -179,19 +179,19 @@ void end( bool useGenericShaders )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( useGenericShaders )
|
if ( useGenericShaders )
|
||||||
{
|
{
|
||||||
GFXStateBlock *currentBlock = GFX->getStateBlock();
|
GFXStateBlock *currentBlock = GFX->getStateBlock();
|
||||||
if (currentBlock && currentBlock->getDesc().samplersDefined)
|
if (currentBlock && currentBlock->getDesc().samplersDefined)
|
||||||
{
|
{
|
||||||
if (currentBlock->getDesc().vertexColorEnable)
|
if (currentBlock->getDesc().vertexColorEnable)
|
||||||
GFX->setupGenericShaders( GFXDevice::GSModColorTexture );
|
GFX->setupGenericShaders( GFXDevice::GSModColorTexture );
|
||||||
else
|
else
|
||||||
GFX->setupGenericShaders( GFXDevice::GSTexture );
|
GFX->setupGenericShaders( GFXDevice::GSTexture );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
GFX->setupGenericShaders( GFXDevice::GSColor );
|
GFX->setupGenericShaders( GFXDevice::GSColor );
|
||||||
}
|
}
|
||||||
|
|
||||||
const GFXVertexPCT *srcVerts = mTempVertBuff.address();
|
const GFXVertexPCT *srcVerts = mTempVertBuff.address();
|
||||||
U32 numVerts = mCurVertIndex;
|
U32 numVerts = mCurVertIndex;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue