diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-02-05 17:44:34 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-02-05 17:44:34 +0000 |
| commit | 016ae0018fe4ca61cc251cf0cacee6757341707e (patch) | |
| tree | 3d794ac0713b6fd3e66bcd1246281a3568c1ec61 /Graphics/GraphicsEngineD3DBase | |
| parent | Silenced OpenGL deprecation warnings on Mac (diff) | |
| download | DiligentCore-016ae0018fe4ca61cc251cf0cacee6757341707e.tar.gz DiligentCore-016ae0018fe4ca61cc251cf0cacee6757341707e.zip | |
Added line strip topology
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
| -rw-r--r-- | Graphics/GraphicsEngineD3DBase/include/D3DTypeConversionImpl.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineD3DBase/include/D3DTypeConversionImpl.hpp b/Graphics/GraphicsEngineD3DBase/include/D3DTypeConversionImpl.hpp index 0e2c684d..09da6661 100644 --- a/Graphics/GraphicsEngineD3DBase/include/D3DTypeConversionImpl.hpp +++ b/Graphics/GraphicsEngineD3DBase/include/D3DTypeConversionImpl.hpp @@ -89,6 +89,7 @@ D3D_PRIM_TOPOLOGY TopologyToD3DTopology(PRIMITIVE_TOPOLOGY Topology) d3dPrimTopology[PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP] = D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP; d3dPrimTopology[PRIMITIVE_TOPOLOGY_POINT_LIST] = D3D_PRIMITIVE_TOPOLOGY_POINTLIST; d3dPrimTopology[PRIMITIVE_TOPOLOGY_LINE_LIST] = D3D_PRIMITIVE_TOPOLOGY_LINELIST; + d3dPrimTopology[PRIMITIVE_TOPOLOGY_LINE_STRIP] = D3D_PRIMITIVE_TOPOLOGY_LINESTRIP; d3dPrimTopology[PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST] = D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST; d3dPrimTopology[PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST] = D3D_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST; d3dPrimTopology[PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST] = D3D_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST; |
