mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	qt: Fix double dialog and crash when OpenGL is selected on unsupported platform. (#6867)
This commit is contained in:
		
							parent
							
								
									f76165d848
								
							
						
					
					
						commit
						b739bd2632
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -1071,8 +1071,10 @@ bool GMainWindow::LoadROM(const QString& filename) { | |||
|         ShutdownGame(); | ||||
|     } | ||||
| 
 | ||||
|     render_window->InitRenderTarget(); | ||||
|     secondary_window->InitRenderTarget(); | ||||
|     if (!render_window->InitRenderTarget() || !secondary_window->InitRenderTarget()) { | ||||
|         LOG_CRITICAL(Frontend, "Failed to initialize render targets!"); | ||||
|         return false; | ||||
|     } | ||||
| 
 | ||||
|     const auto scope = render_window->Acquire(); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue