mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
(GL) Remove one unnecessary HAVE_MENU ifdef
This commit is contained in:
parent
210db93237
commit
94763e1db4
@ -3731,17 +3731,7 @@ static void gl_set_texture_enable(void *data, bool state, bool full_screen)
|
||||
gl->menu_texture_enable = state;
|
||||
gl->menu_texture_full_screen = full_screen;
|
||||
}
|
||||
#endif
|
||||
|
||||
static void gl_apply_state_changes(void *data)
|
||||
{
|
||||
gl_t *gl = (gl_t*)data;
|
||||
|
||||
if (gl)
|
||||
gl->should_resize = true;
|
||||
}
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
static void gl_set_osd_msg(void *data, const char *msg,
|
||||
const struct font_params *params, void *font)
|
||||
{
|
||||
@ -3763,6 +3753,15 @@ static struct video_shader *gl_get_current_shader(void *data)
|
||||
}
|
||||
#endif
|
||||
|
||||
static void gl_apply_state_changes(void *data)
|
||||
{
|
||||
gl_t *gl = (gl_t*)data;
|
||||
|
||||
if (gl)
|
||||
gl->should_resize = true;
|
||||
}
|
||||
|
||||
|
||||
static void gl_get_video_output_size(void *data,
|
||||
unsigned *width, unsigned *height)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user