Fix valgrind warning (value might be uninitialized)
This commit is contained in:
parent
10ec55e39b
commit
a327d4c324
|
@ -81,7 +81,7 @@ struct TimerQuery
|
|||
if (thisQueryActive)
|
||||
return false;
|
||||
|
||||
GLint isReady;
|
||||
GLint isReady = GL_FALSE;
|
||||
glGetQueryObjectiv(query, GL_QUERY_RESULT_AVAILABLE, &isReady);
|
||||
|
||||
if (isReady != GL_TRUE)
|
||||
|
|
Loading…
Reference in New Issue