Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
This commit is contained in:
commit
695b836ac6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user