mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(XDK D3D) Move g_extern.frame_count incrementin to swap_buffers
This commit is contained in:
parent
fb48a9e356
commit
407cced43c
@ -262,9 +262,7 @@ static void gfx_ctx_xdk_update_window_title(void)
|
||||
msg_queue_push(g_extern.msg_queue, buffer_fps, 1, 1);
|
||||
}
|
||||
|
||||
#ifndef _XBOX
|
||||
g_extern.frame_count++;
|
||||
#endif
|
||||
}
|
||||
|
||||
static void gfx_ctx_xdk_get_video_size(unsigned *width, unsigned *height)
|
||||
|
@ -828,8 +828,6 @@ static bool xdk_d3d_frame(void *data, const void *frame,
|
||||
if (d3d && d3d->ctx_driver && d3d->ctx_driver->swap_buffers)
|
||||
d3d->ctx_driver->swap_buffers();
|
||||
|
||||
g_extern.frame_count++;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user