- fix uninitialized variable.

This commit is contained in:
Christoph Oelckers 2015-04-27 21:25:16 +02:00
parent b4cdcef159
commit f273b6c46d

View file

@ -169,7 +169,7 @@ void gl_LoadExtensions()
void gl_PrintStartupLog() void gl_PrintStartupLog()
{ {
int v; int v = 0;
glGetIntegerv(GL_CONTEXT_PROFILE_MASK, &v); glGetIntegerv(GL_CONTEXT_PROFILE_MASK, &v);
Printf ("GL_VENDOR: %s\n", glGetString(GL_VENDOR)); Printf ("GL_VENDOR: %s\n", glGetString(GL_VENDOR));