Skip to content

Commit

Permalink
Reset the scissor rect after rendering onto a renderpass (#1858)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald committed Jul 26, 2022
1 parent 7a46a23 commit 0571bf6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions egui-wgpu/src/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()`.
Expand Down

0 comments on commit 0571bf6

Please sign in to comment.