mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-04 18:23:15 +00:00
D3D: Set the geometry shader before every draw call.
And refactor the VertexManager draw call.
This commit is contained in:
parent
7e8f96f0d3
commit
3d9dfad6a2
5 changed files with 22 additions and 39 deletions
|
@ -350,6 +350,7 @@ int CD3DFont::DrawTextScaled(float x, float y, float size, float spacing, u32 dw
|
|||
|
||||
D3D::stateman->SetPixelShader(m_pshader);
|
||||
D3D::stateman->SetVertexShader(m_vshader);
|
||||
D3D::stateman->SetGeometryShader(nullptr);
|
||||
|
||||
D3D::stateman->SetInputLayout(m_InputLayout);
|
||||
D3D::stateman->SetPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue