D3D11 Compile fix

This commit is contained in:
Jack Andersen 2018-10-21 22:12:44 -10:00
parent 7bda89073d
commit 3b4d7abae6
1 changed files with 1 additions and 1 deletions

View File

@ -589,7 +589,7 @@ class D3D11ShaderPipeline : public GraphicsDataNode<IShaderPipeline>
s->shader(m_dShader);
if (control && evaluation)
m_topology = D3D11_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST + info.patchSize - 1;
m_topology = D3D11_PRIMITIVE_TOPOLOGY(D3D11_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST + info.patchSize - 1);
D3D11_CULL_MODE cullMode;
switch (info.culling)