GPU: Fix compile warning

This commit is contained in:
Stenzek
2025-11-01 14:44:57 +10:00
parent 3e6dd9b9a2
commit 899d500d35
2 changed files with 2 additions and 2 deletions

View File

@@ -579,7 +579,6 @@ TRANSLATE_NOOP("FullscreenUI", "Resets all settings to the defaults.");
TRANSLATE_NOOP("FullscreenUI", "Resets memory card directory to default (user directory).");
TRANSLATE_NOOP("FullscreenUI", "Resolution change will be applied after restarting.");
TRANSLATE_NOOP("FullscreenUI", "Restore Defaults");
TRANSLATE_NOOP("FullscreenUI", "Restores the state of the system prior to the last state loaded.");
TRANSLATE_NOOP("FullscreenUI", "Resume Game");
TRANSLATE_NOOP("FullscreenUI", "Resume Last Session");
TRANSLATE_NOOP("FullscreenUI", "Return To Game");

View File

@@ -3604,7 +3604,8 @@ void GPU_HW::CopyVRAM(u32 src_x, u32 src_y, u32 dst_x, u32 dst_y, u32 width, u32
static_cast<float>(m_vram_texture->GetHeight()),
static_cast<float>(m_resolution_scale),
BoolToUInt32(set_mask),
GetCurrentNormalizedVertexDepth()};
GetCurrentNormalizedVertexDepth(),
0u};
// VRAM read texture should already be bound.
g_gpu_device->SetPipeline(m_vram_copy_pipelines[BoolToUInt8(check_mask && m_write_mask_as_depth)].get());