Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <eiseljulian@gmail.com>2019-06-19 01:28:37 +0300
committerJulian Eisel <eiseljulian@gmail.com>2019-06-19 01:28:37 +0300
commitd15d07c4f6f6cffc4e85056c4ffc04e753ba0f9c (patch)
tree146c48b25cc4774ac14c8568443cc7a96e046264 /source/blender/windowmanager/intern/wm_operators.c
parentd356787a655ac7414efeec86955071a6374adda6 (diff)
Rename wm_xr_ -> GHOST_XR
Diffstat (limited to 'source/blender/windowmanager/intern/wm_operators.c')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index 0f185b0ebd0..4b87970e6e8 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -3650,17 +3650,17 @@ static int xr_session_toggle_exec(bContext *C, wmOperator *UNUSED(op))
return OPERATOR_CANCELLED;
}
- if (wm_xr_session_is_running(xr_context)) {
- wm_xr_session_end(xr_context);
+ if (GHOST_XR_session_is_running(xr_context)) {
+ GHOST_XR_session_end(xr_context);
}
else {
# if defined(WIN32)
xr_session_window_create(C);
# endif
- wm_xr_graphics_context_bind_funcs(
+ GHOST_XR_graphics_context_bind_funcs(
xr_context, xr_session_gpu_binding_context_create, xr_session_gpu_binding_context_destroy);
- wm_xr_session_start(xr_context);
+ GHOST_XR_session_start(xr_context);
}
return OPERATOR_FINISHED;
}