st/oxr: Tidy code style

This commit is contained in:
Jakob Bornecrantz 2019-03-27 13:35:15 +00:00
parent 5a7b5cf247
commit b47b9748a5
3 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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,