1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 07:03:14 -04:00

Reset the scissor rect after rendering onto a renderpass (#1858)

This commit is contained in:
Connor Fitzgerald
2022-07-26 19:09:19 -04:00
committed by GitHub
parent 7a46a23db5
commit 0571bf67e2

View File

@@ -451,6 +451,8 @@ impl RenderPass {
}
}
}
rpass.set_scissor_rect(0, 0, size_in_pixels[0], size_in_pixels[1]);
}
/// Should be called before `execute()`.