Make sure primitive topology is set when doing CopyTex2DMSToArray

This commit is contained in:
baldurk
2018-11-26 23:43:18 +00:00
parent 27c49d5272
commit ae895cd2ba
@@ -592,6 +592,7 @@ void D3D11DebugManager::CopyTex2DMSToArray(ID3D11Texture2D *destArray, ID3D11Tex
ctx->RSSetViewports(1, &view);
ctx->IASetInputLayout(NULL);
ctx->IASetPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST);
float blendFactor[] = {1.0f, 1.0f, 1.0f, 1.0f};
ctx->OMSetBlendState(NULL, blendFactor, ~0U);