[Bf-blender-cvs] [fa7643bc7bf] temp-vr-draw-thread: Fix mistake in earlier commit, removed required call
Julian Eisel
noreply at git.blender.org
Tue Aug 6 15:48:40 CEST 2019
Commit: fa7643bc7bf815a61a57a03f6e42371269d4208b
Author: Julian Eisel
Date: Tue Aug 6 01:39:31 2019 +0200
Branches: temp-vr-draw-thread
https://developer.blender.org/rBfa7643bc7bf815a61a57a03f6e42371269d4208b
Fix mistake in earlier commit, removed required call
Turns out I my compile and launch directories diverged, so I was running
an outdated executable.
===================================================================
M source/blender/windowmanager/intern/wm_xr.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list