Fix valgrind warning (value might be uninitialized)

This commit is contained in:
Jonas Kulla 2013-09-24 19:56:27 +02:00
parent 10ec55e39b
commit a327d4c324
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ struct TimerQuery
if (thisQueryActive) if (thisQueryActive)
return false; return false;
GLint isReady; GLint isReady = GL_FALSE;
glGetQueryObjectiv(query, GL_QUERY_RESULT_AVAILABLE, &isReady); glGetQueryObjectiv(query, GL_QUERY_RESULT_AVAILABLE, &isReady);
if (isReady != GL_TRUE) if (isReady != GL_TRUE)