Pure OpenGL backend works now, let it take priority over DirectX
authorJulian Eisel <eiseljulian@gmail.com>
Sat, 20 Jul 2019 17:34:50 +0000 (19:34 +0200)
committerJulian Eisel <eiseljulian@gmail.com>
Sat, 20 Jul 2019 17:34:50 +0000 (19:34 +0200)
source/blender/windowmanager/intern/wm_xr.c

index f29fe6105ffd903852ebc4de9081263bba9cb534..0fa543d48720582d515c48e0da4a982b0e521ca1 100644 (file)
@@ -103,12 +103,10 @@ bool wm_xr_context_ensure(bContext *C, wmWindowManager *wm)
 
   {
     const GHOST_TXrGraphicsBinding gpu_bindings_candidates[] = {
-    /* TODO temporarily letting D3D take priority, OpenGL doesn't work yet */
-    // GHOST_kXrGraphicsOpenGL,
+        GHOST_kXrGraphicsOpenGL,
 #ifdef WIN32
         GHOST_kXrGraphicsD3D11,
 #endif
-        GHOST_kXrGraphicsOpenGL,
     };
     GHOST_XrContextCreateInfo create_info = {
         .gpu_binding_candidates = gpu_bindings_candidates,