mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
(shader_vulkan.cpp) Fix another 'declaration hides parameter' warning
This commit is contained in:
parent
c85707336b
commit
da29fd61bb
@ -2348,7 +2348,7 @@ void Pass::build_commands(
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
const VkViewport vp = {
|
const VkViewport _vp = {
|
||||||
0.0f, 0.0f,
|
0.0f, 0.0f,
|
||||||
float(current_framebuffer_size.width),
|
float(current_framebuffer_size.width),
|
||||||
float(current_framebuffer_size.height),
|
float(current_framebuffer_size.height),
|
||||||
@ -2362,7 +2362,7 @@ void Pass::build_commands(
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
vkCmdSetViewport(cmd, 0, 1, &vp);
|
vkCmdSetViewport(cmd, 0, 1, &_vp);
|
||||||
vkCmdSetScissor(cmd, 0, 1, &sci);
|
vkCmdSetScissor(cmd, 0, 1, &sci);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user