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
4fba2995
Commit
4fba2995
authored
Mar 27, 2013
by
Ken Thomases
Committed by
Alexandre Julliard
Mar 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac: Don't override -[NSOpenGLContext clearDrawable], just use our own method.
parent
5c8d6a0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
cocoa_opengl.m
dlls/winemac.drv/cocoa_opengl.m
+4
-4
No files found.
dlls/winemac.drv/cocoa_opengl.m
View file @
4fba2995
...
...
@@ -45,7 +45,7 @@
context attached). So, we finesse things by first setting the context's view to
a different view (the content view of an off-screen window) and then letting the
original implementation proceed. */
-
(
void
)
clearDrawable
-
(
void
)
clearDrawable
LeavingSurfaceOnScreen
{
static
NSWindow
*
dummyWindow
;
static
dispatch_once_t
once
;
...
...
@@ -60,7 +60,7 @@
});
[
self
setView
:[
dummyWindow
contentView
]];
[
s
uper
clearDrawable
];
[
s
elf
clearDrawable
];
}
@end
...
...
@@ -99,7 +99,7 @@ void macdrv_dispose_opengl_context(macdrv_opengl_context c)
macdrv_remove_view_opengl_context
((
macdrv_view
)[
context
view
],
c
);
if
([
context
latentView
])
macdrv_remove_view_opengl_context
((
macdrv_view
)[
context
latentView
],
c
);
[
context
clearDrawable
];
[
context
clearDrawable
LeavingSurfaceOnScreen
];
[
context
release
];
[
pool
release
];
...
...
@@ -143,7 +143,7 @@ void macdrv_make_context_current(macdrv_opengl_context c, macdrv_view v)
else
{
[
WineOpenGLContext
clearCurrentContext
];
[
context
clearDrawable
];
[
context
clearDrawable
LeavingSurfaceOnScreen
];
}
}
else
...
...
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