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-06-11 18:04:44 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-06-11 18:04:59 +0300
commit27b673402228aeede8369d99bf64f3da21541058 (patch)
tree9f91d7606a933729220bd5fa6596c4c98abd441a /intern
parenta753c6e11a72747eaa82a103a09d4d2f7f08670e (diff)
GHOST: Fix uninitialized var
Was causing crash on startup.
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_ContextGLX.cpp2
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)