mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(MSVC) Build fixes
This commit is contained in:
parent
e48fd77bec
commit
8cabbcaf66
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user