diff --git a/src/graphics.cpp b/src/graphics.cpp index 7b24922..28bfd08 100644 --- a/src/graphics.cpp +++ b/src/graphics.cpp @@ -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)