projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8561ff3
)
vulkan: Don't cull vertices
author
Benjamin Otte
<otte@redhat.com>
Fri, 12 May 2023 16:17:44 +0000
(18:17 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 4 Jun 2023 17:42:01 +0000
(19:42 +0200)
We end up with the backside, when we scale(-1) and we still want it to
be visible, just flipped.
gsk/vulkan/gskvulkanpipeline.c
patch
|
blob
|
history
diff --git
a/gsk/vulkan/gskvulkanpipeline.c
b/gsk/vulkan/gskvulkanpipeline.c
index 7158bf837c5611db9af2be4aaa6e4bc545e73fdd..0a4a54d8e641a917240edb171bd59f3b217bfe7c 100644
(file)
--- a/
gsk/vulkan/gskvulkanpipeline.c
+++ b/
gsk/vulkan/gskvulkanpipeline.c
@@
-108,7
+108,7
@@
gsk_vulkan_pipeline_new (GType pipeline_type,
.depthClampEnable = VK_FALSE,
.rasterizerDiscardEnable = VK_FALSE,
.polygonMode = VK_POLYGON_MODE_FILL,
- .cullMode = VK_CULL_MODE_
BACK_BIT
,
+ .cullMode = VK_CULL_MODE_
NONE
,
.frontFace = VK_FRONT_FACE_CLOCKWISE,
.lineWidth = 1.0f,
},