D3D12: Fixed AA lines.

This commit is contained in:
Branimir Karadžić 2016-03-16 19:06:15 -07:00
parent 8955ebc6c8
commit f568b998b8

View file

@ -2064,7 +2064,7 @@ data.NumQualityLevels = 0;
_desc.SlopeScaledDepthBias = 0.0f;
_desc.DepthClipEnable = !m_depthClamp;
_desc.MultisampleEnable = !!(_state&BGFX_STATE_MSAA);
_desc.AntialiasedLineEnable = false;
_desc.AntialiasedLineEnable = !!(_state&BGFX_STATE_LINEAA);
_desc.ForcedSampleCount = 0;
_desc.ConservativeRaster = D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF;
}
@ -2214,6 +2214,7 @@ data.NumQualityLevels = 0;
| BGFX_STATE_BLEND_ALPHA_TO_COVERAGE
| BGFX_STATE_CULL_MASK
| BGFX_STATE_MSAA
| BGFX_STATE_LINEAA
| BGFX_STATE_PT_MASK
;