GHOST: Fix uninitialized var

Was causing crash on startup.
This commit is contained in:
Clément Foucault
2018-06-11 17:04:44 +02:00
parent a753c6e11a
commit 27b6734022

View File

@@ -305,7 +305,7 @@ const bool GLXEW_ARB_create_context_robustness =
fprintf(stderr, "Warning! GLX_ARB_create_context not available.\n");
}
GHOST_TSuccess success;
GHOST_TSuccess success = GHOST_kSuccess;
if (m_context != NULL) {
if (!s_sharedContext)