diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-06-11 18:04:44 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-06-11 18:04:59 +0300 |
commit | 27b673402228aeede8369d99bf64f3da21541058 (patch) | |
tree | 9f91d7606a933729220bd5fa6596c4c98abd441a /intern/ghost | |
parent | a753c6e11a72747eaa82a103a09d4d2f7f08670e (diff) |
GHOST: Fix uninitialized var
Was causing crash on startup.
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_ContextGLX.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_ContextGLX.cpp b/intern/ghost/intern/GHOST_ContextGLX.cpp index 1365a1a9c24..c94151a1a0e 100644 --- a/intern/ghost/intern/GHOST_ContextGLX.cpp +++ b/intern/ghost/intern/GHOST_ContextGLX.cpp @@ -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) |