mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-10-30 15:39:02 -05:00 
			
		
		
		
	gl_rasterizer_cache: Remove unnecessary block_depth=1 on Flush.
This commit is contained in:
		| @@ -937,7 +937,6 @@ void CachedSurface::FlushGLBuffer() { | |||||||
|         if (params.target == SurfaceParams::SurfaceTarget::Texture2D) { |         if (params.target == SurfaceParams::SurfaceTarget::Texture2D) { | ||||||
|             // TODO(Blinkhawk): Eliminate this condition once all texture types are implemented. |             // TODO(Blinkhawk): Eliminate this condition once all texture types are implemented. | ||||||
|             depth = 1U; |             depth = 1U; | ||||||
|             block_depth = 1U; |  | ||||||
|         } |         } | ||||||
|         gl_to_morton_fns[static_cast<size_t>(params.pixel_format)]( |         gl_to_morton_fns[static_cast<size_t>(params.pixel_format)]( | ||||||
|             params.width, params.block_height, params.height, block_depth, depth, gl_buffer.data(), |             params.width, params.block_height, params.height, block_depth, depth, gl_buffer.data(), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 bunnei
					bunnei