method to make sure we're not getting pixel shader inputs mixed with outputs.

This commit is contained in:
Azaezel 2017-07-09 15:15:30 -05:00
parent 412c0380f4
commit 181f95510a
4 changed files with 12 additions and 5 deletions

View file

@ -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 )