mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 04:32:47 +00:00
Set poke interface for HAVE_RMENU.
This commit is contained in:
parent
1f37491cbf
commit
68494d0547
3
gfx/gl.c
3
gfx/gl.c
@ -2022,6 +2022,8 @@ static bool gl_read_viewport(void *data, uint8_t *buffer)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_RMENU
|
||||
static void gl_get_poke_interface(void *data, const video_poke_interface **iface);
|
||||
|
||||
static void gl_start(void)
|
||||
{
|
||||
video_info_t video_info = {0};
|
||||
@ -2042,6 +2044,7 @@ static void gl_start(void)
|
||||
driver.video_data = gl_init(&video_info, NULL, NULL);
|
||||
|
||||
gl_t *gl = (gl_t*)driver.video_data;
|
||||
gl_get_poke_interface(gl, &driver.video_poke);
|
||||
|
||||
#ifdef RARCH_CONSOLE
|
||||
// Comes too early for console - moved to gl_start
|
||||
|
Loading…
x
Reference in New Issue
Block a user