diff --git a/egui-wgpu/src/renderer.rs b/egui-wgpu/src/renderer.rs index e772253affa..cf42766b609 100644 --- a/egui-wgpu/src/renderer.rs +++ b/egui-wgpu/src/renderer.rs @@ -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()`.