Commit: 151fb129e75762bebba581016501c530c6e793ae
Author: Julian Eisel
Date:   Wed Jul 17 14:51:21 2019 +0200
Branches: soc-2019-openxr
https://developer.blender.org/rB151fb129e75762bebba581016501c530c6e793ae

Fix for previous commit, accidental call to xrDestroySwapchain

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

M       intern/ghost/intern/GHOST_Xr_intern.h

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

diff --git a/intern/ghost/intern/GHOST_Xr_intern.h 
b/intern/ghost/intern/GHOST_Xr_intern.h
index b0258ae36a1..df68ccedd4f 100644
--- a/intern/ghost/intern/GHOST_Xr_intern.h
+++ b/intern/ghost/intern/GHOST_Xr_intern.h
@@ -68,7 +68,7 @@ template<typename _OXR_HANDLE> class unique_oxr_ptr {
   {
   }
 
-  unique_oxr_ptr(unique_oxr_ptr &&other) : m_ptr(other.m_ptr), 
m_destroy_fn(other.m_destroy_fn)
+  unique_oxr_ptr(unique_oxr_ptr &&other) : m_ptr(other.release()), 
m_destroy_fn(other.m_destroy_fn)
   {
   }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to