[Bf-blender-cvs] [db6657aa151] soc-2019-openxr: Fix compile error on Windows after last commit

Julian Eisel noreply at git.blender.org
Fri Oct 11 15:40:26 CEST 2019


Commit: db6657aa151eaeeed025896b99f17656470ef6cb
Author: Julian Eisel
Date:   Fri Oct 11 15:40:03 2019 +0200
Branches: soc-2019-openxr
https://developer.blender.org/rBdb6657aa151eaeeed025896b99f17656470ef6cb

Fix compile error on Windows after last commit

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

M	intern/ghost/intern/GHOST_XrGraphicsBinding.cpp

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

diff --git a/intern/ghost/intern/GHOST_XrGraphicsBinding.cpp b/intern/ghost/intern/GHOST_XrGraphicsBinding.cpp
index d34a1021f04..c00f70aa1d5 100644
--- a/intern/ghost/intern/GHOST_XrGraphicsBinding.cpp
+++ b/intern/ghost/intern/GHOST_XrGraphicsBinding.cpp
@@ -199,6 +199,7 @@ class GHOST_XrGraphicsBindingD3D : public GHOST_IXrGraphicsBinding {
                                 std::string *r_requirement_info) const override
   {
     GHOST_ContextD3D *ctx_dx = static_cast<GHOST_ContextD3D *>(ghost_ctx);
+    static PFN_xrGetD3D11GraphicsRequirementsKHR s_xrGetD3D11GraphicsRequirementsKHR_fn = nullptr;
     XrGraphicsRequirementsD3D11KHR gpu_requirements{XR_TYPE_GRAPHICS_REQUIREMENTS_D3D11_KHR};
 
     if (!s_xrGetD3D11GraphicsRequirementsKHR_fn &&



More information about the Bf-blender-cvs mailing list