mirror of
https://github.com/libretro/RetroArch
synced 2025-02-24 18:39:59 +00:00
(GX) Get poke interface from gx_start
This commit is contained in:
parent
91e3355268
commit
52ef22bfa9
@ -455,6 +455,8 @@ static void *gx_init(const video_info_t *video,
|
||||
return gx;
|
||||
}
|
||||
|
||||
static void gx_get_poke_interface(void *data, const video_poke_interface_t **iface);
|
||||
|
||||
static void gx_start(void)
|
||||
{
|
||||
video_info_t video_info = {0};
|
||||
@ -471,6 +473,7 @@ static void gx_start(void)
|
||||
build_disp_list();
|
||||
|
||||
gx_video_t *gx = (gx_video_t*)driver.video_data;
|
||||
gx_get_poke_interface(gx, &driver.video_poke);
|
||||
gx->win_width = gx_mode.fbWidth;
|
||||
gx->win_height = gx_mode.xfbHeight;
|
||||
gx->should_resize = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user