-
-
Notifications
You must be signed in to change notification settings - Fork 434
OpenXR bindings #228
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
OpenXR bindings #228
Conversation
catch | ||
{ | ||
// do nothing | ||
} | ||
finally | ||
{ | ||
if (ret == default) | ||
{ | ||
throw new EntryPointNotFoundException | ||
( | ||
$"Entry point \"{functionName}\" not found. Note that instance and device extensions must be " + | ||
"enabled in order to load symbols correctly." | ||
); | ||
} | ||
} | ||
|
||
return ret; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the point of this?
Simply return in the try, and throw in the catch (possibly setting the caught exception as internal exception?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: HurricanKai <herrucan.schmitt@gmail.com>
Thanks! (will merge once ci has passed) |
Summary of the PR
Adds OpenXR bindings by reusing the Vulkan generator.
Related issues, Discord discussions, or proposals
#48
Closes #193
Further Comments
This also changes the OpenGL representation of strings to
byte*
fromchar*
by popular demand.