GHOST: Fix uninitialized values.

This commit is contained in:
fclem
2018-06-11 17:07:37 +02:00
parent 4ffd153dbf
commit aca403c819
2 changed files with 4 additions and 2 deletions

View File

@@ -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);
}

View File

@@ -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),