From f273b6c46d9d663584a51561bc4f12ca2bc7b83e Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 27 Apr 2015 21:25:16 +0200 Subject: [PATCH] - fix uninitialized variable. --- src/gl/system/gl_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/system/gl_interface.cpp b/src/gl/system/gl_interface.cpp index fe27b419c..4a043afe5 100644 --- a/src/gl/system/gl_interface.cpp +++ b/src/gl/system/gl_interface.cpp @@ -169,7 +169,7 @@ void gl_LoadExtensions() void gl_PrintStartupLog() { - int v; + int v = 0; glGetIntegerv(GL_CONTEXT_PROFILE_MASK, &v); Printf ("GL_VENDOR: %s\n", glGetString(GL_VENDOR));