From 023e28031909222765d248f38d9b98d764597e96 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 25 Apr 2018 14:20:37 +0200 Subject: [PATCH] win32_get_refresh_rate not available on Xbox --- gfx/drivers/d3d8.c | 4 ++++ gfx/drivers/d3d9.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gfx/drivers/d3d8.c b/gfx/drivers/d3d8.c index c39a70cd3c92..11d19f9c9f1a 100644 --- a/gfx/drivers/d3d8.c +++ b/gfx/drivers/d3d8.c @@ -1884,7 +1884,11 @@ static const video_poke_interface_t d3d_poke_interface = { d3d8_load_texture, d3d8_unload_texture, d3d8_set_video_mode, +#ifdef _XBOX + NULL, +#else win32_get_refresh_rate, +#endif NULL, NULL, /* get_video_output_size */ NULL, /* get_video_output_prev */ diff --git a/gfx/drivers/d3d9.c b/gfx/drivers/d3d9.c index 5902a6561246..61b610ed4a6a 100644 --- a/gfx/drivers/d3d9.c +++ b/gfx/drivers/d3d9.c @@ -1911,7 +1911,10 @@ static const video_poke_interface_t d3d9_poke_interface = { d3d9_load_texture, d3d9_unload_texture, d3d9_set_video_mode, +#ifdef _XBOX +#else win32_get_refresh_rate, +#endif NULL, NULL, /* get_video_output_size */ NULL, /* get_video_output_prev */