Skip to content
Snippets Groups Projects
Commit 7cdf96b0 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix GDI brakage in frameskipping.

Win32GDI currently requires two rects to be available.
parent f8739a4c
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4430 passed
......@@ -97,7 +97,8 @@ static struct rectlist *free_rects;
static pthread_mutex_t free_rect_lock;
static bool throttled;
static int outstanding_rects;
#define MAX_OUTSTANDING 1
// win32gdi requires two rects...
#define MAX_OUTSTANDING 2
/* The read lock must be held here. */
#define PIXEL_OFFSET(screen, x, y) ( (y)*(screen).screenwidth+(x) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment