[Bf-blender-cvs] [8e51a757725] soc-2019-openxr: Fix mistake causing compiler error on Windows

Julian Eisel noreply at git.blender.org
Wed Jun 12 23:46:23 CEST 2019


Commit: 8e51a7577253b64520857cf913299c8747839d3d
Author: Julian Eisel
Date:   Wed Jun 12 23:45:19 2019 +0200
Branches: soc-2019-openxr
https://developer.blender.org/rB8e51a7577253b64520857cf913299c8747839d3d

Fix mistake causing compiler error on Windows

Stupid one...

===================================================================

M	source/blender/windowmanager/xr/intern/wm_xr_session.c

===================================================================

diff --git a/source/blender/windowmanager/xr/intern/wm_xr_session.c b/source/blender/windowmanager/xr/intern/wm_xr_session.c
index 5aa9aea25ad..d5c4292b9b1 100644
--- a/source/blender/windowmanager/xr/intern/wm_xr_session.c
+++ b/source/blender/windowmanager/xr/intern/wm_xr_session.c
@@ -84,7 +84,7 @@ static void *openxr_graphics_binding_create(const wmXRContext *xr_context,
 #if defined(WITH_X11)
       binding.glx.type = XR_TYPE_GRAPHICS_BINDING_OPENGL_XLIB_KHR;
 #elif defined(WIN32)
-      binding.wgl = XR_TYPE_GRAPHICS_BINDING_OPENGL_WIN32_KHR;
+      binding.wgl.type = XR_TYPE_GRAPHICS_BINDING_OPENGL_WIN32_KHR;
 #endif
 
       break;



More information about the Bf-blender-cvs mailing list