Skip to content

Commit

Permalink
fix segfault with vulkan shaders (libretro#16810)
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterk committed Jul 24, 2024
1 parent eada798 commit 6b8025f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gfx/drivers_shader/shader_vulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2592,10 +2592,10 @@ Framebuffer::Framebuffer(
unsigned max_levels) :
size(max_size),
format(format),
max_levels(MAX(max_levels, 1u)),
memory_properties(mem_props),
device(device)
{
max_levels = MAX(max_levels, 1u);
RARCH_LOG("[Vulkan filter chain]: Creating framebuffer %ux%u (max %u level(s)).\n",
max_size.width, max_size.height, max_levels);
vulkan_initialize_render_pass(device, format, &render_pass);
Expand Down

0 comments on commit 6b8025f

Please sign in to comment.