Remove useless SDL_Init() flag
This commit is contained in:
		
							parent
							
								
									23e712a730
								
							
						
					
					
						commit
						8b9c501249
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -122,7 +122,7 @@ int main(int, char *argv[])
 | 
			
		|||
	conf.read();
 | 
			
		||||
	conf.readGameINI();
 | 
			
		||||
 | 
			
		||||
	if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_JOYSTICK) < 0)
 | 
			
		||||
	if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK) < 0)
 | 
			
		||||
	{
 | 
			
		||||
		qDebug() << "Error initializing SDL:" << SDL_GetError();
 | 
			
		||||
		return 0;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue