[ImGui] Fix drawing lines.

ImGui does not orientate triangles.
Culling must not be applied in immediate drawer.
This commit is contained in:
Joel Linn
2020-04-19 01:38:58 +02:00
parent 582089392c
commit 3d2982e845
3 changed files with 12 additions and 5 deletions

View File

@@ -607,8 +607,8 @@ VkResult VulkanImmediateDrawer::Initialize() {
rasterization_info.depthClampEnable = VK_FALSE;
rasterization_info.rasterizerDiscardEnable = VK_FALSE;
rasterization_info.polygonMode = VK_POLYGON_MODE_FILL;
rasterization_info.cullMode = VK_CULL_MODE_BACK_BIT;
rasterization_info.frontFace = VK_FRONT_FACE_CLOCKWISE;
rasterization_info.cullMode = VK_CULL_MODE_NONE;
rasterization_info.frontFace = VK_FRONT_FACE_COUNTER_CLOCKWISE;
rasterization_info.depthBiasEnable = VK_FALSE;
rasterization_info.depthBiasConstantFactor = 0;
rasterization_info.depthBiasClamp = 0;