mirror of
https://github.com/storytold/egui.git
synced 2026-11-23 02:52:15 +01:00
Reset the scissor rect after rendering onto a renderpass (#1858)
This commit is contained in:
1 parent
7a46a23db5
commit
0571bf67e2
1 file changed
+2
@@ -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()`.
|
||||
|
||||
Reference in new issue
Block a user