diff --git a/lib/RefreshCS b/lib/RefreshCS index 3bd904de..cd18b03c 160000 --- a/lib/RefreshCS +++ b/lib/RefreshCS @@ -1 +1 @@ -Subproject commit 3bd904de2bbf62731093c84ef195c7ea355a9d06 +Subproject commit cd18b03c0f4cc1bd9feba57158925ac8837f5110 diff --git a/src/Graphics/Resources/GraphicsPipeline.cs b/src/Graphics/Resources/GraphicsPipeline.cs index 7c68c109..67fe6323 100644 --- a/src/Graphics/Resources/GraphicsPipeline.cs +++ b/src/Graphics/Resources/GraphicsPipeline.cs @@ -88,7 +88,6 @@ namespace MoonWorks.Graphics refreshGraphicsPipelineCreateInfo.rasterizerState.depthClampEnable = Conversions.BoolToByte(rasterizerState.DepthClampEnable); refreshGraphicsPipelineCreateInfo.rasterizerState.fillMode = (Refresh.FillMode) rasterizerState.FillMode; refreshGraphicsPipelineCreateInfo.rasterizerState.frontFace = (Refresh.FrontFace) rasterizerState.FrontFace; - refreshGraphicsPipelineCreateInfo.rasterizerState.lineWidth = rasterizerState.LineWidth; refreshGraphicsPipelineCreateInfo.vertexInputState.vertexAttributes = vertexAttributesHandle.AddrOfPinnedObject(); refreshGraphicsPipelineCreateInfo.vertexInputState.vertexAttributeCount = (uint) vertexInputState.VertexAttributes.Length; diff --git a/src/Graphics/State/RasterizerState.cs b/src/Graphics/State/RasterizerState.cs index 9763ce59..042a55db 100644 --- a/src/Graphics/State/RasterizerState.cs +++ b/src/Graphics/State/RasterizerState.cs @@ -41,18 +41,12 @@ /// public FrontFace FrontFace; - /// - /// Describes the width of the line rendering in terms of pixels. - /// - public float LineWidth; - public static readonly RasterizerState CW_CullFront = new RasterizerState { CullMode = CullMode.Front, FrontFace = FrontFace.Clockwise, FillMode = FillMode.Fill, - DepthBiasEnable = false, - LineWidth = 1f + DepthBiasEnable = false }; public static readonly RasterizerState CW_CullBack = new RasterizerState @@ -60,8 +54,7 @@ CullMode = CullMode.Back, FrontFace = FrontFace.Clockwise, FillMode = FillMode.Fill, - DepthBiasEnable = false, - LineWidth = 1f + DepthBiasEnable = false }; public static readonly RasterizerState CW_CullNone = new RasterizerState @@ -69,8 +62,7 @@ CullMode = CullMode.None, FrontFace = FrontFace.Clockwise, FillMode = FillMode.Fill, - DepthBiasEnable = false, - LineWidth = 1f + DepthBiasEnable = false }; public static readonly RasterizerState CW_Wireframe = new RasterizerState @@ -78,8 +70,7 @@ CullMode = CullMode.None, FrontFace = FrontFace.Clockwise, FillMode = FillMode.Fill, - DepthBiasEnable = false, - LineWidth = 1f + DepthBiasEnable = false }; public static readonly RasterizerState CCW_CullFront = new RasterizerState @@ -87,8 +78,7 @@ CullMode = CullMode.Front, FrontFace = FrontFace.CounterClockwise, FillMode = FillMode.Fill, - DepthBiasEnable = false, - LineWidth = 1f + DepthBiasEnable = false }; public static readonly RasterizerState CCW_CullBack = new RasterizerState @@ -96,8 +86,7 @@ CullMode = CullMode.Back, FrontFace = FrontFace.CounterClockwise, FillMode = FillMode.Fill, - DepthBiasEnable = false, - LineWidth = 1f + DepthBiasEnable = false }; public static readonly RasterizerState CCW_CullNone = new RasterizerState @@ -105,8 +94,7 @@ CullMode = CullMode.None, FrontFace = FrontFace.CounterClockwise, FillMode = FillMode.Fill, - DepthBiasEnable = false, - LineWidth = 1f + DepthBiasEnable = false }; public static readonly RasterizerState CCW_Wireframe = new RasterizerState @@ -114,8 +102,7 @@ CullMode = CullMode.None, FrontFace = FrontFace.CounterClockwise, FillMode = FillMode.Fill, - DepthBiasEnable = false, - LineWidth = 1f + DepthBiasEnable = false }; } }