mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Change from QOpenGLWidget to QWindow
While QOpenGLWidget sounds like a good idea, it has issues which are harder to debug due to how Qt manages the context behind the scenes. We could probably work around any of these issues over time, but its probably easier to do it ourselves with a QWindow directly. Plus using QWindow + createWindowContainer is the easiest to use configuration for Qt + Vulkan so this is probably much better in the long run.
This commit is contained in:
		
							parent
							
								
									66f5278f52
								
							
						
					
					
						commit
						586b8e8b46
					
				
					 7 changed files with 114 additions and 28 deletions
				
			
		|  | @ -31,7 +31,7 @@ public: | |||
|     /**
 | ||||
|      * Recreate the presentation objects attached to this frame with the new specified width/height | ||||
|      */ | ||||
|     virtual void ReloadPresentFrame(Frontend::Frame* frame, u32 height, u32 width) = 0; | ||||
|     virtual void ReloadPresentFrame(Frontend::Frame* frame, u32 width, u32 height) = 0; | ||||
| 
 | ||||
|     /**
 | ||||
|      * Render thread calls this to get an available frame to present | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue