Commit 695b836a authored by Robert Osfield's avatar Robert Osfield
Browse files
parents 4a27b7a0 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;
}
......
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