X Tutup
Skip to content

OpenXR: Fix resizing viewports used by OpenXRCompositionLayer#112227

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
dsnopek:openxr-composition-layers-viewport-size-changed
Oct 31, 2025
Merged

OpenXR: Fix resizing viewports used by OpenXRCompositionLayer#112227
Repiteo merged 1 commit intogodotengine:masterfrom
dsnopek:openxr-composition-layers-viewport-size-changed

Conversation

@dsnopek
Copy link
Contributor

@dsnopek dsnopek commented Oct 30, 2025

Currently, if you change the size of a SubViewport that is being used by an OpenXRCompositionLayer it will break.

This PR fixes that!

The changes in the OpenGL renderer actually aren't needed to fix the bug (only the Vulkan changes), but after making the Vulkan changes, I checked if OpenGL had similar issues, and it does, but only for changing the MSAA and HDR flags - it already has the correct check when changing the render target size.

@dsnopek dsnopek added this to the 4.6 milestone Oct 30, 2025
@dsnopek dsnopek requested review from a team as code owners October 30, 2025 22:47
Copy link
Contributor

@BastiaanOlij BastiaanOlij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Repiteo Repiteo merged commit fd672db into godotengine:master Oct 31, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Oct 31, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup