Revert unneeded and breaking change from D3D11 context state clearing

Ref: f5a6a18232
This commit is contained in:
Wojtek Figat
2021-07-24 16:23:55 +02:00
parent 9476a75f40
commit f49e20bdb5

View File

@@ -647,6 +647,7 @@ void GPUContextDX11::ClearState()
FlushState();
#if 0
_context->ClearState();
ID3D11SamplerState* samplers[] =
{
@@ -661,6 +662,7 @@ void GPUContextDX11::ClearState()
_context->DSSetSamplers(0, ARRAY_COUNT(samplers), samplers);
_context->PSSetSamplers(0, ARRAY_COUNT(samplers), samplers);
_context->CSSetSamplers(0, ARRAY_COUNT(samplers), samplers);
#endif
}
void GPUContextDX11::FlushState()