mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 10:40:39 +00:00
Fix d3d swap buffers call
This commit is contained in:
parent
16c1bd7a03
commit
13b6a016fc
@ -90,7 +90,8 @@ static bool gfx_ctx_d3d_set_resize(void *data,
|
||||
|
||||
static void gfx_ctx_d3d_swap_buffers(void *data, void *data2)
|
||||
{
|
||||
d3d_video_t *d3d = (d3d_video_t*)data;
|
||||
video_frame_info_t *video_info = (video_frame_info_t*)data2;
|
||||
d3d_video_t *d3d = video_info ? (d3d_video_t*)video_info->userdata : NULL;
|
||||
if (d3d)
|
||||
d3d_swap(d3d, d3d->dev);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user