Enable culling while rendering wayland windows

I don't even know why I disabled culling even lmao

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2026-02-01 20:48:57 +02:00
parent 864a0fd2fe
commit 0d3a03a93e
2 changed files with 4 additions and 1 deletions

View File

@@ -1092,7 +1092,7 @@ auto Application::run() -> void
wayland_draw_extent.height) };
if (draw_width > 0.0f && draw_height > 0.0f) {
gl.set_transform(smath::Mat4::identity());
gl.set_culling(false);
gl.set_culling(true);
gl.use_pipeline(m_renderer->wayland_pipeline());
for (auto *surface : m_wayland->surfaces()) {
auto buffer { surface->current_buffer() };