[Bf-blender-cvs] [3072350] HMD_viewport: Fix crash opening UserPrefs on some systems.

Julian Eisel noreply at git.blender.org
Sun Apr 10 02:15:26 CEST 2016


Commit: 30723504be274c681a629754d1068dbbb0fae91b
Author: Julian Eisel
Date:   Sun Apr 10 02:13:51 2016 +0200
Branches: HMD_viewport
https://developer.blender.org/rB30723504be274c681a629754d1068dbbb0fae91b

Fix crash opening UserPrefs on some systems.

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

M	intern/ghost/intern/GHOST_OpenHMDManager.cpp

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

diff --git a/intern/ghost/intern/GHOST_OpenHMDManager.cpp b/intern/ghost/intern/GHOST_OpenHMDManager.cpp
index 83ed6fb..92cbbe5 100644
--- a/intern/ghost/intern/GHOST_OpenHMDManager.cpp
+++ b/intern/ghost/intern/GHOST_OpenHMDManager.cpp
@@ -30,6 +30,7 @@
 
 GHOST_OpenHMDManager::GHOST_OpenHMDManager(GHOST_System& sys)
 	: m_system(sys),
+	  m_context(NULL),
 	  m_device(NULL),
 	  m_deviceIndex(-1)
 {




More information about the Bf-blender-cvs mailing list