mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-11 00:44:32 +00:00
GPU: Fix compile warning
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user