(MSVC) Build fixes

This commit is contained in:
twinaphex 2015-01-18 22:43:07 +01:00
parent e48fd77bec
commit 8cabbcaf66

View File

@ -420,6 +420,14 @@ static bool d3d_focus(void *data)
return false;
}
static bool d3d_suppress_screensaver(void *data, bool enable)
{
d3d_video_t *d3d = (d3d_video_t*)data;
if (d3d && d3d->ctx_driver && d3d->ctx_driver->suppress_screensaver)
return d3d->ctx_driver->suppress_screensaver(d3d, enable);
return false;
}
static bool d3d_has_windowed(void *data)
{
d3d_video_t *d3d = (d3d_video_t*)data;
@ -1934,6 +1942,7 @@ video_driver_t video_d3d = {
d3d_set_nonblock_state,
d3d_alive,
d3d_focus,
d3d_suppress_screensaver,
d3d_has_windowed,
d3d_set_shader,
d3d_free,