Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorfclem <foucault.clem@gmail.com>2018-06-11 18:07:37 +0300
committerfclem <foucault.clem@gmail.com>2018-06-11 18:07:52 +0300
commitaca403c819c4fc9e1e7197bbe3027d43d114bfd6 (patch)
treecbcafea172e19cd0cd75728b9e1c638f9506c44c /intern
parent4ffd153dbf919b40c4b6513c8de2a10dbe9291f6 (diff)
GHOST: Fix uninitialized values.
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_ContextGLX.cpp3
-rw-r--r--intern/ghost/intern/GHOST_ContextWGL.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_ContextGLX.cpp b/intern/ghost/intern/GHOST_ContextGLX.cpp
index c94151a1a0e..1a995eb2cbc 100644
--- a/intern/ghost/intern/GHOST_ContextGLX.cpp
+++ b/intern/ghost/intern/GHOST_ContextGLX.cpp
@@ -72,7 +72,8 @@ GHOST_ContextGLX::GHOST_ContextGLX(
m_contextMinorVersion(contextMinorVersion),
m_contextFlags(contextFlags),
m_contextResetNotificationStrategy(contextResetNotificationStrategy),
- m_context(None)
+ m_context(None),
+ m_init(false)
{
assert(m_display != NULL);
}
diff --git a/intern/ghost/intern/GHOST_ContextWGL.cpp b/intern/ghost/intern/GHOST_ContextWGL.cpp
index 35ebb2c78af..0331958c34a 100644
--- a/intern/ghost/intern/GHOST_ContextWGL.cpp
+++ b/intern/ghost/intern/GHOST_ContextWGL.cpp
@@ -71,7 +71,8 @@ GHOST_ContextWGL::GHOST_ContextWGL(
m_contextFlags(contextFlags),
m_alphaBackground(alphaBackground),
m_contextResetNotificationStrategy(contextResetNotificationStrategy),
- m_hGLRC(NULL)
+ m_hGLRC(NULL),
+ m_init(false)
#ifndef NDEBUG
,
m_dummyVendor(NULL),