mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	3dtv botenable improved (#1)
* Fixed crash when right eye isn't available * Enabled swap screens in stereo views. Fixed window alignment in stereo views to handle all screen aspect ratios. * Minor code cleanup and clang fomat updates. * Minor cleanup of swapped and aspect ratio code
This commit is contained in:
		
							parent
							
								
									d27312b816
								
							
						
					
					
						commit
						8c0ede544f
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -163,6 +163,9 @@ void RendererOpenGL::SwapBuffers() { | |||
| void RendererOpenGL::LoadFBToScreenInfo(const GPU::Regs::FramebufferConfig& framebuffer, | ||||
|                                         ScreenInfo& screen_info, bool right_eye) { | ||||
| 
 | ||||
|     if (framebuffer.address_right1 == 0 || framebuffer.address_right2 == 0) | ||||
|         right_eye = false; | ||||
| 
 | ||||
|     const PAddr framebuffer_addr = | ||||
|         framebuffer.active_fb == 0 | ||||
|             ? (!right_eye ? framebuffer.address_left1 : framebuffer.address_right1) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue