1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-22 12:40:09 +00:00
Andrew 01e25bd5c7 Fix max_swapchain_images and do some additional cleanup
When max_swapchain_images was originally added it worked properly,
but was subsequently broken by using the value to specify the number
of buffers allocated.

Due to how the dispmanx driver works, only 2 buffers are ever actually
used, so the 3rd buffer in the "swapchain" ended up doing nothing.

Fix this by restoring it to the original intent, that is, if
max_swapchain_images <= 2 wait for vsync after the flip (reducing
lag), otherwise wait at the last possible moment (increasing lag).

Additionally, fix up some unnecessary void* usage where type safety
could be maintained.
2017-05-04 18:45:59 -07:00
..
2016-08-01 22:45:07 +02:00
2017-01-14 22:48:02 +01:00
2017-01-22 13:40:32 +01:00
2017-04-29 18:45:58 +02:00
2017-04-19 02:03:01 +02:00
2017-04-28 21:03:04 +02:00
2017-01-22 13:40:32 +01:00
2017-04-29 12:44:45 +02:00
2017-04-29 00:39:29 +02:00
2017-01-22 13:40:32 +01:00
2017-04-29 18:47:29 +02:00
2017-04-29 00:39:29 +02:00
2017-04-29 17:52:16 +02:00
2017-04-29 00:39:29 +02:00