From 3b4d7abae6dc0d11cefa6b3aaf545bff90963ce4 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sun, 21 Oct 2018 22:12:44 -1000 Subject: [PATCH] D3D11 Compile fix --- lib/graphicsdev/D3D11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/graphicsdev/D3D11.cpp b/lib/graphicsdev/D3D11.cpp index 6cf56bd..dd6d90b 100644 --- a/lib/graphicsdev/D3D11.cpp +++ b/lib/graphicsdev/D3D11.cpp @@ -589,7 +589,7 @@ class D3D11ShaderPipeline : public GraphicsDataNode 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)