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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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()`.