Skip to content
Snippets Groups Projects
Commit cb6dd7aa 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 fc775c7d
No related branches found
No related tags found
No related merge requests found
......@@ -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.
Finish editing this message first!
Please register or to comment