diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-10-29 22:09:20 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-10-29 22:09:20 +0100 |
commit | 354a5f1ab65a2d36cceb948331edd4578ac349c6 (patch) | |
tree | c98497d5a16e37c2b3507c77a6e01ec62fd0046f /vcl/osx | |
parent | 62c125bbb4d27631af6cbcb498e765c0b215b734 (diff) |
Resolves fdo#85524: OSX Crash Impress with videoclip
Change-Id: If222be9574af1078ffba15c07f048503dd8d7e8e
Diffstat (limited to 'vcl/osx')
-rw-r--r-- | vcl/osx/salobj.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/osx/salobj.cxx b/vcl/osx/salobj.cxx index 7932f8af12b2..58e2c6436b1a 100644 --- a/vcl/osx/salobj.cxx +++ b/vcl/osx/salobj.cxx @@ -38,7 +38,7 @@ AquaSalObject::AquaSalObject( AquaSalFrame* pFrame, SystemWindowData* pWindowDat { maSysData.nSize = sizeof( maSysData ); maSysData.mpNSView = NULL; - maSysData.mbOpenGL = pWindowData->bOpenGL; + maSysData.mbOpenGL = false; NSRect aInitFrame = { NSZeroPoint, { 20, 20 } }; mpClipView = [[NSClipView alloc] initWithFrame: aInitFrame ]; @@ -49,6 +49,7 @@ AquaSalObject::AquaSalObject( AquaSalFrame* pFrame, SystemWindowData* pWindowDat } if (pWindowData && pWindowData->bOpenGL) { + maSysData.mbOpenGL = true; NSOpenGLPixelFormat* pixFormat = NULL; if (pWindowData->bLegacy) |