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

[Fix] When the default framebuffer is updated, refresh info about its format #5784

Merged
merged 1 commit into from Nov 3, 2023

Conversation

mvaligursky
Copy link
Contributor

@mvaligursky mvaligursky commented Nov 3, 2023

Fixes #5775

When the default framebuffer changes (for example entering or exiting XR), detect its pixel format, as that is required to create a matching multi-sampled framebuffer.

Without this, the multi-sampled framebuffer could have different format (alpha channel) and resolve blit would fail.

@slimbuck slimbuck changed the title [Fix] When the defautl framebuffer is updates, refresh info about its format [Fix] When the default framebuffer is updated, refresh info about its format Nov 3, 2023
@mvaligursky mvaligursky self-assigned this Nov 3, 2023
@mvaligursky mvaligursky added bug area: graphics Graphics related issue area: xr XR related issue labels Nov 3, 2023
@mvaligursky mvaligursky merged commit 3d6c51b into main Nov 3, 2023
7 checks passed
@mvaligursky mvaligursky deleted the mv-framebuffer-format-xr branch November 3, 2023 10:51
marklundin pushed a commit that referenced this pull request Nov 3, 2023
… format (#5784)

Co-authored-by: Martin Valigursky <mvaligursky@snapchat.com>
mvaligursky added a commit that referenced this pull request Nov 6, 2023
… format (#5784)

Co-authored-by: Martin Valigursky <mvaligursky@snapchat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue area: xr XR related issue bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Engine 1.66+ fails to create XR context with default GraphicsDevice settings.
2 participants