[Bf-blender-cvs] [284c9430f9b] master: Cleanup: Silenced compilation warning in ghost.

Jeroen Bakker noreply at git.blender.org
Fri Sep 10 09:21:19 CEST 2021


Commit: 284c9430f9bbdbe132f9eb9c4b428bf5d25df0ca
Author: Jeroen Bakker
Date:   Fri Sep 10 09:21:02 2021 +0200
Branches: master
https://developer.blender.org/rB284c9430f9bbdbe132f9eb9c4b428bf5d25df0ca

Cleanup: Silenced compilation warning in ghost.

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

M	intern/ghost/intern/GHOST_XrContext.cpp

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

diff --git a/intern/ghost/intern/GHOST_XrContext.cpp b/intern/ghost/intern/GHOST_XrContext.cpp
index f6b3caa3ec7..3584f4b8e90 100644
--- a/intern/ghost/intern/GHOST_XrContext.cpp
+++ b/intern/ghost/intern/GHOST_XrContext.cpp
@@ -485,6 +485,8 @@ GHOST_TXrGraphicsBinding GHOST_XrContext::determineGraphicsBindingTypeToUse(
         ((create_info->context_flag & GHOST_kXrContextGpuNVIDIA) != 0)) {
       continue;
     }
+#else
+    ((void)create_info);
 #endif
 
     assert(type != GHOST_kXrGraphicsUnknown);



More information about the Bf-blender-cvs mailing list