mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-09 13:44:32 +00:00
method to make sure we're not getting pixel shader inputs mixed with outputs.
This commit is contained in:
parent
412c0380f4
commit
181f95510a
4 changed files with 12 additions and 5 deletions
|
|
@ -572,6 +572,13 @@ void GFXDevice::updateStates(bool forceSetAll /*=false*/)
|
|||
#endif
|
||||
}
|
||||
|
||||
void GFXDevice::clearTextureStateImmediate(U32 stage)
|
||||
{
|
||||
mCurrentTexture[stage] = NULL;
|
||||
mCurrentCubemap[stage] = NULL;
|
||||
setTextureInternal(stage, NULL);
|
||||
}
|
||||
|
||||
void GFXDevice::setPrimitiveBuffer( GFXPrimitiveBuffer *buffer )
|
||||
{
|
||||
if( buffer == mCurrentPrimitiveBuffer )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue