mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 13:20:43 +00:00
(GDI) Implement resolution callback functions
This commit is contained in:
parent
9f20a48602
commit
30dd294c43
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user