From 08e574eec4437ac7f8e067dd3ecd276328ed41dc Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 20 Oct 2018 15:53:21 -0400 Subject: maxwell_dma: Remove unused variables in HandleCopy() These pointer variables are never used, so we can get rid of them. --- src/video_core/engines/maxwell_dma.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/video_core/engines') diff --git a/src/video_core/engines/maxwell_dma.cpp b/src/video_core/engines/maxwell_dma.cpp index 103cd110e..a945daf6a 100644 --- a/src/video_core/engines/maxwell_dma.cpp +++ b/src/video_core/engines/maxwell_dma.cpp @@ -91,9 +91,6 @@ void MaxwellDMA::HandleCopy() { rasterizer.InvalidateRegion(dest_cpu, dst_size); }; - u8* src_buffer = Memory::GetPointer(source_cpu); - u8* dst_buffer = Memory::GetPointer(dest_cpu); - if (regs.exec.is_dst_linear && !regs.exec.is_src_linear) { ASSERT(regs.src_params.size_z == 1); // If the input is tiled and the output is linear, deswizzle the input and copy it over. -- cgit v1.2.3