mirror of
				https://git.tardis.systems/mirrors/yuzu
				synced 2025-11-04 12:45:03 +01:00 
			
		
		
		
	nvflinger: Remove superfluous buffer format check.
This commit is contained in:
		
							parent
							
								
									e7ba2a4447
								
							
						
					
					
						commit
						494275fd38
					
				@ -36,9 +36,7 @@ u32 BufferQueue::DequeueBuffer(u32 pixel_format, u32 width, u32 height) {
 | 
			
		||||
            return false;
 | 
			
		||||
 | 
			
		||||
        // Make sure that the parameters match.
 | 
			
		||||
        auto& igbp_buffer = buffer.igbp_buffer;
 | 
			
		||||
        return igbp_buffer.format == pixel_format && igbp_buffer.width == width &&
 | 
			
		||||
               igbp_buffer.height == height;
 | 
			
		||||
        return buffer.igbp_buffer.width == width && buffer.igbp_buffer.height == height;
 | 
			
		||||
    });
 | 
			
		||||
    if (itr == queue.end()) {
 | 
			
		||||
        LOG_CRITICAL(Service_NVDRV, "no free buffers for pixel_format=%d, width=%d, height=%d",
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user