mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	video_core: gl_rasterizer float to int warning
This commit is contained in:
		
							parent
							
								
									b6063d9a93
								
							
						
					
					
						commit
						753fea5d65
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -748,7 +748,8 @@ bool RasterizerOpenGL::AccelerateDisplayTransfer(const GPU::Regs::DisplayTransfe | ||||||
| 
 | 
 | ||||||
|     // Adjust the source rectangle to take into account parts of the input lines being cropped
 |     // Adjust the source rectangle to take into account parts of the input lines being cropped
 | ||||||
|     if (config.input_width > config.output_width) { |     if (config.input_width > config.output_width) { | ||||||
|         src_rect.right -= (config.input_width - config.output_width) * src_surface->res_scale_width; |         src_rect.right -= static_cast<int>((config.input_width - config.output_width) * | ||||||
|  |                                            src_surface->res_scale_width); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     // Require destination surface to have same resolution scale as source to preserve scaling
 |     // Require destination surface to have same resolution scale as source to preserve scaling
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue