Skip to content

Commit

Permalink
Implement d3d9_has_windowed
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Mar 2, 2018
1 parent 9606db6 commit 7c599b7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion gfx/drivers/d3d9.c
Original file line number Diff line number Diff line change
Expand Up @@ -1876,14 +1876,23 @@ static void d3d9_get_poke_interface(void *data,
*iface = &d3d9_poke_interface;
}

static bool d3d9_has_windowed(void *data)
{
#ifdef _XBOX
return false;
#else
return true;
#endif
}

video_driver_t video_d3d9 = {
d3d9_init,
d3d9_frame,
d3d9_set_nonblock_state,
d3d9_alive,
NULL, /* focus */
d3d9_suppress_screensaver,
NULL, /* has_windowed */
d3d9_has_windowed,
d3d9_set_shader,
d3d9_free,
"d3d9",
Expand Down

0 comments on commit 7c599b7

Please sign in to comment.