mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Add RenderPassData::mSamplerNames for OpenGL code. Not used on DX9.
This commit is contained in:
parent
2142d452d4
commit
ba36617aec
2 changed files with 4 additions and 0 deletions
|
|
@ -41,7 +41,10 @@ RenderPassData::RenderPassData()
|
|||
void RenderPassData::reset()
|
||||
{
|
||||
for( U32 i = 0; i < Material::MAX_TEX_PER_PASS; ++ i )
|
||||
{
|
||||
destructInPlace( &mTexSlot[ i ] );
|
||||
mSamplerNames[ i ].clear();
|
||||
}
|
||||
|
||||
dMemset( &mTexSlot, 0, sizeof(mTexSlot) );
|
||||
dMemset( &mTexType, 0, sizeof(mTexType) );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue