Remove unnecessary variable
This commit is contained in:
		
							parent
							
								
									774c9b7c8a
								
							
						
					
					
						commit
						c2585660b7
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -84,13 +84,12 @@ int rgssThreadFun(void *userdata)
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
	/* Check for required GL extensions */
 | 
			
		||||
	const char **ext = reqExt;
 | 
			
		||||
	for (int i = 0; ext[i]; ++i)
 | 
			
		||||
	for (int i = 0; reqExt[i]; ++i)
 | 
			
		||||
	{
 | 
			
		||||
		if (!glewIsSupported(ext[i]))
 | 
			
		||||
		if (!glewIsSupported(reqExt[i]))
 | 
			
		||||
		{
 | 
			
		||||
			threadData->rgssErrorMsg =
 | 
			
		||||
			        QByteArray("Required GL extension \"") + ext[i] + "\" not present";
 | 
			
		||||
			        QByteArray("Required GL extension \"") + reqExt[i] + "\" not present";
 | 
			
		||||
			threadData->ethread->requestTerminate();
 | 
			
		||||
			threadData->rqTermAck = true;
 | 
			
		||||
			return 0;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue