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)
 | 
							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)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue