mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 09:18:03 -05:00
video_core: Enforce -Wunused-variable and -Wunused-but-set-variable
This commit is contained in:
@ -114,8 +114,6 @@ void MaxwellDMA::CopyBlockLinearToPitch() {
|
||||
const u32 block_depth = src_params.block_size.depth;
|
||||
const size_t src_size =
|
||||
CalculateSize(true, bytes_per_pixel, width, height, depth, block_height, block_depth);
|
||||
const size_t src_layer_size =
|
||||
CalculateSize(true, bytes_per_pixel, width, height, 1, block_height, block_depth);
|
||||
|
||||
if (read_buffer.size() < src_size) {
|
||||
read_buffer.resize(src_size);
|
||||
|
Reference in New Issue
Block a user