summaryrefslogtreecommitdiff
path: root/engine/xe_pipeline.cpp
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2022-09-19 16:35:45 -0400
committerTyler Murphy <tylermurphy534@gmail.com>2022-09-19 16:35:45 -0400
commit2f99eee7c5f0088e3c39c21a5d2efd7335953ae8 (patch)
tree210845819e39ad9df558ffa3234205e4cd14c48a /engine/xe_pipeline.cpp
parentmore recatoring, doesnt compile (diff)
downloadminecraftvulkan-2f99eee7c5f0088e3c39c21a5d2efd7335953ae8.tar.gz
minecraftvulkan-2f99eee7c5f0088e3c39c21a5d2efd7335953ae8.tar.bz2
minecraftvulkan-2f99eee7c5f0088e3c39c21a5d2efd7335953ae8.zip
even more refactoring
Diffstat (limited to 'engine/xe_pipeline.cpp')
-rwxr-xr-xengine/xe_pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/xe_pipeline.cpp b/engine/xe_pipeline.cpp
index d06d09b..c34d2a9 100755
--- a/engine/xe_pipeline.cpp
+++ b/engine/xe_pipeline.cpp
@@ -145,7 +145,7 @@ namespace xe {
configInfo.rasterizationInfo.rasterizerDiscardEnable = VK_FALSE;
configInfo.rasterizationInfo.polygonMode = VK_POLYGON_MODE_FILL;
configInfo.rasterizationInfo.lineWidth = 1.0f;
- configInfo.rasterizationInfo.cullMode = VK_CULL_MODE_NONE;
+ configInfo.rasterizationInfo.cullMode = VK_CULL_MODE_BACK_BIT;
configInfo.rasterizationInfo.frontFace = VK_FRONT_FACE_CLOCKWISE;
configInfo.rasterizationInfo.depthBiasEnable = VK_FALSE;
configInfo.rasterizationInfo.depthBiasConstantFactor = 0.0f;