mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
GFXD3D11StateBlock improvements
This commit is contained in:
parent
983b3211ed
commit
48dc2551c4
4 changed files with 203 additions and 199 deletions
|
|
@ -140,6 +140,11 @@ GFXD3D11Device::~GFXD3D11Device()
|
|||
mD3DDeviceContext->ClearState();
|
||||
mD3DDeviceContext->Flush();
|
||||
|
||||
// Free the sampler states
|
||||
SamplerMap::Iterator sampIter = mSamplersMap.begin();
|
||||
for (; sampIter != mSamplersMap.end(); ++sampIter)
|
||||
SAFE_RELEASE(sampIter->value);
|
||||
|
||||
// Free the vertex declarations.
|
||||
VertexDeclMap::Iterator iter = mVertexDecls.begin();
|
||||
for (; iter != mVertexDecls.end(); iter++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue