mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Silence unused function with --disable-menu.
gfx/drivers/gl_core.c:1529:13: warning: ‘gl_core_draw_menu_texture’ defined but not used [-Wunused-function] static void gl_core_draw_menu_texture(gl_core_t *gl, video_frame_info_t *video_info) ^~~~~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
parent
6552828244
commit
9e9849170d
@ -1526,6 +1526,7 @@ static void gl_core_update_cpu_texture(gl_core_t *gl,
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(HAVE_MENU)
|
||||
static void gl_core_draw_menu_texture(gl_core_t *gl, video_frame_info_t *video_info)
|
||||
{
|
||||
const float vbo_data[] = {
|
||||
@ -1566,6 +1567,7 @@ static void gl_core_draw_menu_texture(gl_core_t *gl, video_frame_info_t *video_i
|
||||
|
||||
glDisable(GL_BLEND);
|
||||
}
|
||||
#endif
|
||||
|
||||
static bool gl_core_frame(void *data, const void *frame,
|
||||
unsigned frame_width, unsigned frame_height,
|
||||
|
Loading…
x
Reference in New Issue
Block a user