mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-09 10:54:30 +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
|
||||
{
|
||||
const VkViewport vp = {
|
||||
const VkViewport _vp = {
|
||||
0.0f, 0.0f,
|
||||
float(current_framebuffer_size.width),
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user