Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
15612dd7
Commit
15612dd7
authored
Mar 21, 2014
by
Ken Thomases
Committed by
Alexandre Julliard
Mar 21, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac: Make the swap interval a property of the window, not the context.
parent
5943c580
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
139 additions
and
27 deletions
+139
-27
macdrv.h
dlls/winemac.drv/macdrv.h
+1
-0
opengl.c
dlls/winemac.drv/opengl.c
+137
-27
window.c
dlls/winemac.drv/window.c
+1
-0
No files found.
dlls/winemac.drv/macdrv.h
View file @
15612dd7
...
...
@@ -141,6 +141,7 @@ struct macdrv_win_data
unsigned
int
per_pixel_alpha
:
1
;
/* is window using per-pixel alpha? */
unsigned
int
minimized
:
1
;
/* is window minimized? */
unsigned
int
being_dragged
:
1
;
/* is window being dragged under Cocoa's control? */
unsigned
int
swap_interval
:
1
;
/* GL swap interval for window */
struct
window_surface
*
surface
;
struct
window_surface
*
unminimized_surface
;
};
...
...
dlls/winemac.drv/opengl.c
View file @
15612dd7
This diff is collapsed.
Click to expand it.
dlls/winemac.drv/window.c
View file @
15612dd7
...
...
@@ -239,6 +239,7 @@ static struct macdrv_win_data *alloc_win_data(HWND hwnd)
{
data
->
hwnd
=
hwnd
;
data
->
color_key
=
CLR_INVALID
;
data
->
swap_interval
=
1
;
EnterCriticalSection
(
&
win_data_section
);
if
(
!
win_datas
)
win_datas
=
CFDictionaryCreateMutable
(
NULL
,
0
,
NULL
,
NULL
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment