If the hardware is in an error state, the final page flip may not come.

We should either put a timeout on the wait when destroying the window, or skip it entirely.
This commit is contained in:
Sam Lantinga 2021-11-19 09:58:13 -08:00
parent 6828955ddf
commit 665865eda2

View file

@ -869,7 +869,7 @@ KMSDRM_DestroySurfaces(_THIS, SDL_Window *window)
/**********************************************/
/* Wait for last issued pageflip to complete. */
/**********************************************/
KMSDRM_WaitPageflip(_this, windata);
/*KMSDRM_WaitPageflip(_this, windata);*/
/***********************************************************************/
/* Restore the original CRTC configuration: configue the crtc with the */