mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-07 19:01:14 +00:00
(menu_shader.c) Build fix
This commit is contained in:
parent
60ccfbd749
commit
8e0e93d844
@ -196,7 +196,7 @@ void menu_shader_manager_get_str(struct gfx_shader *program,
|
||||
{
|
||||
unsigned pass = (type - MENU_SETTINGS_SHADER_PASS_SCALE_0);
|
||||
unsigned scale_value = program->pass[pass].fbo.scale_x;
|
||||
if (!scale)
|
||||
if (!scale_value)
|
||||
strlcpy(type_str, "Don't care", type_str_size);
|
||||
else
|
||||
snprintf(type_str, type_str_size, "%ux", scale_value);
|
||||
|
Loading…
Reference in New Issue
Block a user