Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure we create a grab pass buffer if no source is present #4593

Merged
merged 3 commits into from
Aug 26, 2022

Conversation

GSterbrant
Copy link
Contributor

Description

Fixes bug where screen grab pass wouldn't get constructed

@GSterbrant GSterbrant self-assigned this Aug 26, 2022
Get the requested size from either the device or the requested render target, and compare that with, if present, the existing render target to figure out whether or not we need to resize (or initialise)
@GSterbrant GSterbrant merged commit 2bec53a into main Aug 26, 2022
@GSterbrant GSterbrant deleted the gsterbrant_fix_grab_pass branch August 26, 2022 12:46
GSterbrant added a commit that referenced this pull request Aug 26, 2022
* Make sure we create a grab pass buffer if no source is present

* Refactor

Get the requested size from either the device or the requested render target, and compare that with, if present, the existing render target to figure out whether or not we need to resize (or initialise)

* Remove extra check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants