Skip to content

Commit

Permalink
win32_get_refresh_rate not available on Xbox
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Apr 25, 2018
1 parent 9a7ca5f commit 023e280
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gfx/drivers/d3d8.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
3 changes: 3 additions & 0 deletions gfx/drivers/d3d9.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 023e280

Please sign in to comment.