GHOST: Fix uninitialized values.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user