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:
authorClément Foucault <foucault.clem@gmail.com>2018-07-02 20:34:44 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-07-03 14:36:04 +0300
commit7a8403dbb003b0a79fb917b3f23c329f72522ef8 (patch)
tree103be669d5daed740384dbed3fb438b940c44250 /intern
parentc50e1216a654a93ba8a05f5a1b573e6bdc28c3bd (diff)
Revert "GHOST: Fix uninitialized values."
This reverts commit aca403c819c4fc9e1e7197bbe3027d43d114bfd6.
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, 2 insertions, 4 deletions
diff --git a/intern/ghost/intern/GHOST_ContextGLX.cpp b/intern/ghost/intern/GHOST_ContextGLX.cpp
index 1a995eb2cbc..c94151a1a0e 100644
--- a/intern/ghost/intern/GHOST_ContextGLX.cpp
+++ b/intern/ghost/intern/GHOST_ContextGLX.cpp
@@ -72,8 +72,7 @@ GHOST_ContextGLX::GHOST_ContextGLX(
m_contextMinorVersion(contextMinorVersion),
m_contextFlags(contextFlags),
m_contextResetNotificationStrategy(contextResetNotificationStrategy),
- m_context(None),
- m_init(false)
+ m_context(None)
{
assert(m_display != NULL);
}
diff --git a/intern/ghost/intern/GHOST_ContextWGL.cpp b/intern/ghost/intern/GHOST_ContextWGL.cpp
index 0047a88fa1d..883c06ecf78 100644
--- a/intern/ghost/intern/GHOST_ContextWGL.cpp
+++ b/intern/ghost/intern/GHOST_ContextWGL.cpp
@@ -70,8 +70,7 @@ GHOST_ContextWGL::GHOST_ContextWGL(
m_contextFlags(contextFlags),
m_alphaBackground(alphaBackground),
m_contextResetNotificationStrategy(contextResetNotificationStrategy),
- m_hGLRC(NULL),
- m_init(false)
+ m_hGLRC(NULL)
#ifndef NDEBUG
,
m_dummyVendor(NULL),