浏览代码

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.
Sam Lantinga 3 年之前
父节点
当前提交
665865eda2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/video/kmsdrm/SDL_kmsdrmvideo.c

+ 1 - 1
src/video/kmsdrm/SDL_kmsdrmvideo.c

@@ -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 */