Unverified Commit f089d2e3 authored by OpenSceneGraph git repository's avatar OpenSceneGraph git repository Committed by GitHub
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
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment