mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 15:40:44 +00:00
Remove redundant conditions
This commit is contained in:
parent
9428765596
commit
5d65c73be3
@ -941,7 +941,7 @@ static void gl_glsl_set_params(void *data, unsigned width, unsigned height,
|
||||
|
||||
(void)data;
|
||||
|
||||
if (!glsl || (glsl->gl_program[glsl->glsl_active_index] == 0))
|
||||
if (glsl->gl_program[glsl->glsl_active_index] == 0)
|
||||
return;
|
||||
|
||||
float input_size[2] = {(float)width, (float)height};
|
||||
|
@ -1094,22 +1094,15 @@ static void xmb_context_reset(void *data)
|
||||
return;
|
||||
|
||||
gl = (gl_t*)driver_video_resolve(NULL);
|
||||
|
||||
if (!gl)
|
||||
return;
|
||||
|
||||
xmb = (xmb_handle_t*)menu->userdata;
|
||||
|
||||
if (!xmb)
|
||||
return;
|
||||
|
||||
(void)gl;
|
||||
|
||||
driver.gfx_use_rgba = true;
|
||||
|
||||
if (!menu || !xmb)
|
||||
return;
|
||||
|
||||
fill_pathname_join(bgpath, g_settings.assets_directory,
|
||||
"xmb", sizeof(bgpath));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user