mirror of
				https://github.com/yuzu-emu/yuzu.git
				synced 2025-11-04 12:03:44 +00:00 
			
		
		
		
	renderer_opengl: Remove framebuffer RasterizerFlushVirtualRegion hack.
This commit is contained in:
		
							parent
							
								
									c1ccbf332f
								
							
						
					
					
						commit
						7504df52fc
					
				@ -142,11 +142,6 @@ void RendererOpenGL::LoadFBToScreenInfo(const Tegra::FramebufferConfig& framebuf
 | 
			
		||||
    const u64 size_in_bytes{framebuffer.stride * framebuffer.height * bytes_per_pixel};
 | 
			
		||||
    const VAddr framebuffer_addr{framebuffer.address + framebuffer.offset};
 | 
			
		||||
 | 
			
		||||
    // TODO(bunnei): The framebuffer region should only be invalidated if it is written to, not
 | 
			
		||||
    // every frame. When we find the right place for this, the below line can be removed.
 | 
			
		||||
    Memory::RasterizerFlushVirtualRegion(framebuffer_addr, size_in_bytes,
 | 
			
		||||
                                         Memory::FlushMode::Invalidate);
 | 
			
		||||
 | 
			
		||||
    // Framebuffer orientation handling
 | 
			
		||||
    framebuffer_transform_flags = framebuffer.transform_flags;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user