diff --git a/gfx/drivers/gdi_gfx.c b/gfx/drivers/gdi_gfx.c index 524e970612..98069a4291 100644 --- a/gfx/drivers/gdi_gfx.c +++ b/gfx/drivers/gdi_gfx.c @@ -691,6 +691,26 @@ static uint32_t gdi_get_flags(void *data) return flags; } +static void gdi_get_video_output_size(void *data, + unsigned *width, unsigned *height) +{ + win32_get_video_output_size(width, height); +} + +static void gdi_get_video_output_prev(void *data) +{ + unsigned width = 0; + unsigned height = 0; + win32_get_video_output_prev(&width, &height); +} + +static void gdi_get_video_output_next(void *data) +{ + unsigned width = 0; + unsigned height = 0; + win32_get_video_output_next(&width, &height); +} + static const video_poke_interface_t gdi_poke_interface = { gdi_get_flags, gdi_load_texture, @@ -698,9 +718,9 @@ static const video_poke_interface_t gdi_poke_interface = { gdi_set_video_mode, win32_get_refresh_rate, NULL, - NULL, /* get_video_output_size */ - NULL, /* get_video_output_prev */ - NULL, /* get_video_output_next */ + gdi_get_video_output_size, + gdi_get_video_output_prev, + gdi_get_video_output_next, NULL, NULL, NULL,