mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
Silence warning with clang-9.0.1.
gfx/drivers_shader/shader_vulkan.cpp:2372:4: warning: field 'device' will be initialized after field 'size' [-Wreorder] device(device), ^ 1 warning generated.
This commit is contained in:
parent
7bf6bac63f
commit
baf7013941
@ -2368,11 +2368,11 @@ Framebuffer::Framebuffer(
|
|||||||
const VkPhysicalDeviceMemoryProperties &mem_props,
|
const VkPhysicalDeviceMemoryProperties &mem_props,
|
||||||
const Size2D &max_size, VkFormat format,
|
const Size2D &max_size, VkFormat format,
|
||||||
unsigned max_levels) :
|
unsigned max_levels) :
|
||||||
memory_properties(mem_props),
|
|
||||||
device(device),
|
|
||||||
size(max_size),
|
size(max_size),
|
||||||
format(format),
|
format(format),
|
||||||
max_levels(max(max_levels, 1u))
|
max_levels(max(max_levels, 1u)),
|
||||||
|
memory_properties(mem_props),
|
||||||
|
device(device)
|
||||||
{
|
{
|
||||||
RARCH_LOG("[Vulkan filter chain]: Creating framebuffer %u x %u (max %u level(s)).\n",
|
RARCH_LOG("[Vulkan filter chain]: Creating framebuffer %u x %u (max %u level(s)).\n",
|
||||||
max_size.width, max_size.height, max_levels);
|
max_size.width, max_size.height, max_levels);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user