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

XR: Check for bad input in make_vrs_texture #93536

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

BastiaanOlij
Copy link
Contributor

This adds some checks in case XRVRS::make_vrs_texture is called in a situation that it can't work or if input info is unusable.

servers/xr/xr_vrs.cpp Outdated Show resolved Hide resolved
servers/xr/xr_vrs.cpp Outdated Show resolved Hide resolved
servers/xr/xr_vrs.cpp Outdated Show resolved Hide resolved
@AThousandShips AThousandShips added this to the 4.3 milestone Jun 24, 2024
Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

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

Seems fine, pending style fixes.

@akien-mga akien-mga changed the title Check for bad input in make_vrs_texture XR: Check for bad input in make_vrs_texture Jun 24, 2024
@akien-mga akien-mga merged commit f99c7e9 into godotengine:master Jun 24, 2024
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@BastiaanOlij BastiaanOlij deleted the fix_make_vrs_ci branch July 2, 2024 03:24
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.

Executing XRVRS.make_vrs_texture function crashes Godot
5 participants