Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
cb6dd7aa
Commit
cb6dd7aa
authored
1 year ago
by
Deucе
Browse files
Options
Downloads
Patches
Plain Diff
Fix GDI brakage in frameskipping.
Win32GDI currently requires two rects to be available.
parent
fc775c7d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/conio/bitmap_con.c
+2
-1
2 additions, 1 deletion
src/conio/bitmap_con.c
with
2 additions
and
1 deletion
src/conio/bitmap_con.c
+
2
−
1
View file @
cb6dd7aa
...
...
@@ -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) )
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment