We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c761ea commit 92c17b8Copy full SHA for 92c17b8
library/imgui/ImguiEntity.cc
@@ -86,6 +86,8 @@ namespace gf {
86
const Vec2F max((command->ClipRect.z - position.x) * scale.x, (command->ClipRect.w - position.y) * scale.y);
87
object.scissor = RectI::from_min_max(min, max);
88
89
+ object.scissor.offset = gf::max(object.scissor.offset, { 0, 0 }); // because VUID-vkCmdSetScissor-x-00595
90
+
91
// count, first, offset
92
93
object.size = command->ElemCount;
0 commit comments