mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 06:40:18 +00:00
(XDK D3D) Build fix
This commit is contained in:
parent
3cbd430b12
commit
c94bb7d06d
@ -814,8 +814,8 @@ static void xdk_d3d_set_nonblock_state(void *data, bool state)
|
||||
|
||||
RARCH_LOG("D3D Vsync => %s\n", state ? "off" : "on");
|
||||
|
||||
if (d3d->ctx_driver && d3d->ctx_driver->set_swap_interval)
|
||||
d3d->ctx_driver->set_swap_interval(state ? 0 : 1);
|
||||
if (d3d->ctx_driver && d3d->ctx_driver->swap_interval)
|
||||
d3d->ctx_driver->swap_interval(state ? 0 : 1);
|
||||
}
|
||||
|
||||
static bool xdk_d3d_alive(void *data)
|
||||
@ -823,7 +823,7 @@ static bool xdk_d3d_alive(void *data)
|
||||
xdk_d3d_video_t *d3d = (xdk_d3d_video_t*)data;
|
||||
bool quit, resize;
|
||||
|
||||
if (d3d->ctx_driver && d3d->ctx_driver>check_window)
|
||||
if (d3d->ctx_driver && d3d->ctx_driver->check_window)
|
||||
d3d->ctx_driver->check_window(&quit,
|
||||
&resize, NULL, NULL, g_extern.frame_count);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user