st/oxr: Some minor spelling changes

This commit is contained in:
Jakob Bornecrantz 2020-06-01 21:29:11 +01:00
parent a36753443a
commit a5d64e6565
3 changed files with 6 additions and 6 deletions

View file

@ -70,7 +70,7 @@ oxr_session_populate_egl(struct oxr_logger *log,
true, &xcfd);
if (ret < 0 || xcfd == NULL) {
return oxr_error(log, XR_ERROR_INITIALIZATION_FAILED,
"Failed create a fd compositor '%i'", ret);
"Failed to create an fd compositor '%i'", ret);
}
struct xrt_compositor_gl *xcgl =
@ -80,7 +80,7 @@ oxr_session_populate_egl(struct oxr_logger *log,
if (xcgl == NULL) {
xcfd->base.destroy(&xcfd->base);
return oxr_error(log, XR_ERROR_INITIALIZATION_FAILED,
"Failed create a egl client compositor");
"Failed to create an egl client compositor");
}
sess->compositor = &xcgl->base;

View file

@ -38,7 +38,7 @@ oxr_session_populate_gl_xlib(struct oxr_logger *log,
true, &xcfd);
if (ret < 0 || xcfd == NULL) {
return oxr_error(log, XR_ERROR_INITIALIZATION_FAILED,
"Failed create a fd compositor '%i'", ret);
"Failed to create an fd compositor '%i'", ret);
}
@ -49,7 +49,7 @@ oxr_session_populate_gl_xlib(struct oxr_logger *log,
if (xcgl == NULL) {
xcfd->base.destroy(&xcfd->base);
return oxr_error(log, XR_ERROR_INITIALIZATION_FAILED,
"Failed create a xlib client compositor");
"Failed to create an xlib client compositor");
}
sess->compositor = &xcgl->base;

View file

@ -32,7 +32,7 @@ oxr_session_populate_vk(struct oxr_logger *log,
false, &xcfd);
if (ret < 0 || xcfd == NULL) {
return oxr_error(log, XR_ERROR_INITIALIZATION_FAILED,
"Failed create a fd compositor '%i'", ret);
"Failed to create an fd compositor '%i'", ret);
}
struct xrt_compositor_vk *xcvk = xrt_gfx_vk_provider_create(
@ -42,7 +42,7 @@ oxr_session_populate_vk(struct oxr_logger *log,
if (xcvk == NULL) {
xcfd->base.destroy(&xcfd->base);
return oxr_error(log, XR_ERROR_INITIALIZATION_FAILED,
"Failed create a vk client compositor");
"Failed to create an vk client compositor");
}
sess->compositor = &xcvk->base;