Replaced FRAME_LAG with swapchain.num_images - 1 to be generic
authorEleni Maria Stea <estea@igalia.com>
Sat, 20 Nov 2021 15:29:35 +0000 (17:29 +0200)
committerEleni Maria Stea <estea@igalia.com>
Sat, 20 Nov 2021 15:29:35 +0000 (17:29 +0200)
commit0df4d53756a27aa2b3847318fb17700c1849dd42
treeda58ea26af0663c0b5fee48b4767e72c10a1c9f0
parentd1dbc679d802194c2973d0acc82dae17c6e1f569
Replaced FRAME_LAG with swapchain.num_images - 1 to be generic

The frame lag is equal to the num of remaining frames (in case of 3ple
buffering it's 2, if we use double buffering it's 1) so, I am not
defining it anymore.
src/main.cc