mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-05 13:28:16 +00:00
st/oxr: Tidy code style
This commit is contained in:
parent
5a7b5cf247
commit
b47b9748a5
|
@ -71,7 +71,8 @@ oxr_xrGetReferenceSpaceBoundsRect(XrSession session,
|
|||
"xrGetReferenceSpaceBoundsRect");
|
||||
|
||||
//! @todo Implement
|
||||
return oxr_error(&log, XR_ERROR_FUNCTION_UNSUPPORTED, " not implemented");
|
||||
return oxr_error(&log, XR_ERROR_FUNCTION_UNSUPPORTED,
|
||||
" not implemented");
|
||||
}
|
||||
|
||||
XrResult
|
||||
|
|
|
@ -471,7 +471,7 @@ oxr_session_create(struct oxr_logger *log,
|
|||
sess->create_swapchain = NULL;
|
||||
} else
|
||||
#ifdef XR_USE_PLATFORM_XLIB
|
||||
if (*next == XR_TYPE_GRAPHICS_BINDING_OPENGL_XLIB_KHR) {
|
||||
if (*next == XR_TYPE_GRAPHICS_BINDING_OPENGL_XLIB_KHR) {
|
||||
ret = oxr_session_create_gl_xlib(
|
||||
log, sys, (XrGraphicsBindingOpenGLXlibKHR *)next, &sess);
|
||||
} else
|
||||
|
|
|
@ -103,7 +103,7 @@ oxr_verify_XrSessionCreateInfo(struct oxr_logger* log,
|
|||
} else
|
||||
#endif
|
||||
#ifdef XR_USE_GRAPHICS_API_VULKAN
|
||||
if (*next_type == XR_TYPE_GRAPHICS_BINDING_VULKAN_KHR) {
|
||||
if (*next_type == XR_TYPE_GRAPHICS_BINDING_VULKAN_KHR) {
|
||||
if (!inst->vulkan_enable) {
|
||||
return oxr_error(
|
||||
log, XR_ERROR_VALIDATION_FAILURE,
|
||||
|
|
Loading…
Reference in a new issue