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

Cap DX12 swapchain texture size to maximum #824

Merged
merged 1 commit into from
Jul 5, 2024
Merged

Conversation

Sergio0694
Copy link
Owner

Closes #555

Description

This PR adds logic to cap the size of the internal textures used by the DX12 swapchain panels. This prevent rendering errors when trying to resize the control to an invalid size, eg. when putting it inside a ScrollViewer control and zooming in too much.

@Sergio0694 Sergio0694 added the bug fix ✅ A fix for a reported/discovered bug label Jul 5, 2024
@Sergio0694 Sergio0694 merged commit c67b849 into main Jul 5, 2024
24 checks passed
@Sergio0694 Sergio0694 deleted the dev/fix-zoom-in-crash branch July 5, 2024 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix ✅ A fix for a reported/discovered bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Render will fail if zoomed in too far in ScrollViewer
1 participant