From 93dfb955ddaa75fb05389d95fba5079a3c42bdc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Hrdli=C4=8Dka?= Date: Mon, 27 Apr 2020 15:06:10 +0200 Subject: [PATCH] Revert "win: Add a timeout for the startblit function" This reverts commit 3b357348b02fd18a49bf60213171ddbf1a30fd65. --- src/win/win.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/win/win.c b/src/win/win.c index 77df9d3d5..e8d2af475 100644 --- a/src/win/win.c +++ b/src/win/win.c @@ -847,10 +847,7 @@ LPARAM win_get_string(int id) void /* plat_ */ startblit(void) { - DWORD ret = WaitForSingleObject(ghMutex, 1000); - - if(ret == WAIT_TIMEOUT) - fatal("The blit mutex has timed out."); + WaitForSingleObject(ghMutex, INFINITE); }