Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
OpenSceneGraph
Commits
f089d2e3
Unverified
Commit
f089d2e3
authored
Apr 29, 2020
by
OpenSceneGraph git repository
Committed by
GitHub
Apr 29, 2020
Browse files
Merge pull request #944 from remoe/patch-1
[macosx 10.15] Fix GC resize issue #926 from @PetrBo and @tkittel
parents
3590e4c0
3994378a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/osgViewer/GraphicsWindowCocoa.mm
View file @
f089d2e3
...
...
@@ -1223,6 +1223,7 @@ bool GraphicsWindowCocoa::realizeImplementation()
[
_view
setAutoresizingMask
:
(
NSViewWidthSizable
|
NSViewHeightSizable
)
];
[
_view
setGraphicsWindowCocoa
:
this
];
[
_view
setOpenGLContext
:
_context
];
[
_view
setWantsBestResolutionOpenGLSurface
:
NO
];
// enable multitouch
if
(
_multiTouchEnabled
||
(
windowData
&&
windowData
->
isMultiTouchEnabled
()))
...
...
@@ -1305,7 +1306,6 @@ bool GraphicsWindowCocoa:: makeCurrentImplementation()
{
if
(
_updateContext
)
{
[
_context
update
];
_updateContext
=
false
;
}
...
...
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