D3D: Set the geometry shader before every draw call.

And refactor the VertexManager draw call.
This commit is contained in:
Jules Blok committed 2014-12-18 00:36:50 +01:00
1 parent 7e8f96f0d3
commit 3d9dfad6a2
5 files changed
+22 -39

No files matched your search

@@ -282,6 +282,7 @@ void XFBEncoder::Encode(u8* dst, u32 width, u32 height, const EFBRectangle& srcR
D3D::stateman->SetPixelShader(m_pShader);
D3D::stateman->SetVertexShader(m_vShader);
D3D::stateman->SetGeometryShader(nullptr);
D3D::stateman->PushBlendState(m_xfbEncodeBlendState);
D3D::stateman->PushDepthState(m_xfbEncodeDepthState);