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-08-06 02:39:31 +0300
committerJulian Eisel <eiseljulian@gmail.com>2019-08-06 02:39:31 +0300
commitfa7643bc7bf815a61a57a03f6e42371269d4208b (patch)
tree6a968f9592fa0163beeea17a8193bb8d5817498b /source/blender/windowmanager/intern/wm_xr.c
parent02aca1bfb758761ec9b3a1b00bf8652cfcd37a35 (diff)
Fix mistake in earlier commit, removed required call
Turns out I my compile and launch directories diverged, so I was running an outdated executable.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_xr.c')
-rw-r--r--source/blender/windowmanager/intern/wm_xr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_xr.c b/source/blender/windowmanager/intern/wm_xr.c
index e20bc39ba1f..4d6dd80fb80 100644
--- a/source/blender/windowmanager/intern/wm_xr.c
+++ b/source/blender/windowmanager/intern/wm_xr.c
@@ -351,6 +351,8 @@ static GHOST_ContextHandle wm_xr_draw_view(const GHOST_XrDrawViewInfo *draw_view
offscreen,
viewport);
+ GPU_framebuffer_restore();
+
GPUTexture *texture = GPU_offscreen_color_texture(offscreen);
wm_draw_offscreen_texture_parameters(offscreen);