gl: Fix flip regression

- Restore graphics state after flip (including active fbo) because flip can be made through a syscall
This commit is contained in:
kd-11 2018-11-30 12:29:35 +03:00 committed by kd-11
parent b96ed5cd4e
commit 2168159d03
3 changed files with 24 additions and 6 deletions

View file

@ -1013,6 +1013,8 @@ namespace rsx
{
if (async_flip_requested & flip_request::emu_requested)
{
// NOTE: This has to be executed immediately
// Delaying this operation can cause desync due to the delay in firing the flip event
handle_emu_flip(async_flip_buffer);
}