mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
Fix valgrind warning (value might be uninitialized)
This commit is contained in:
parent
10ec55e39b
commit
a327d4c324
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue