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

[Pico] Add an OS version check #1541

Merged
merged 2 commits into from
Sep 17, 2024
Merged

[Pico] Add an OS version check #1541

merged 2 commits into from
Sep 17, 2024

Conversation

svillar
Copy link
Member

@svillar svillar commented Sep 13, 2024

Pico OpenXR runtime had several issues over the time. We had to add workarounds here and there to support those OS versions. As time passes by those workarounds just make the code more complex to maintain without any real benefit (as it affects really old versions of the OS).

After this change Pico OS versions < v5.7.1 are no longer supported and Wolvic will refuse to start.

This allows us to remove a lot of code workarounding runtime bugs including the legacy hand mesh renderer using spheres.

So far we only have version checks for Meta. However as we're planning
to add more for other platforms is better to modularize it instead of
creating a long list of chained if-else blocks that are hard to maintain.
Pico OpenXR runtime had several issues over the time. We had to add
workarounds here and there to support those OS versions. As time passes
by those workarounds just make the code more complex to maintain
without any real benefit (as it affects really old versions of the OS).

After this change Pico OS versions < v5.7.1 are no longer supported
and Wolvic will refuse to start.

This allows us to remove a lot of code workarounding runtime bugs
including the legacy hand mesh renderer using spheres.
@svillar svillar changed the title Pico system check [Pico] Add an OS version check Sep 13, 2024
javifernandez

This comment was marked as off-topic.

Copy link
Member

@javifernandez javifernandez left a comment

Choose a reason for hiding this comment

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

The code looks good it works well in the Pico4 with the last SO version.

@svillar svillar merged commit ab6d436 into main Sep 17, 2024
22 checks passed
@svillar svillar deleted the pico_system_check branch September 17, 2024 07:56
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