Kaydet (Commit) 354a5f1a authored tarafından Julien Nabet's avatar Julien Nabet

Resolves fdo#85524: OSX Crash Impress with videoclip

Change-Id: If222be9574af1078ffba15c07f048503dd8d7e8e
üst 62c125bb
...@@ -38,7 +38,7 @@ AquaSalObject::AquaSalObject( AquaSalFrame* pFrame, SystemWindowData* pWindowDat ...@@ -38,7 +38,7 @@ AquaSalObject::AquaSalObject( AquaSalFrame* pFrame, SystemWindowData* pWindowDat
{ {
maSysData.nSize = sizeof( maSysData ); maSysData.nSize = sizeof( maSysData );
maSysData.mpNSView = NULL; maSysData.mpNSView = NULL;
maSysData.mbOpenGL = pWindowData->bOpenGL; maSysData.mbOpenGL = false;
NSRect aInitFrame = { NSZeroPoint, { 20, 20 } }; NSRect aInitFrame = { NSZeroPoint, { 20, 20 } };
mpClipView = [[NSClipView alloc] initWithFrame: aInitFrame ]; mpClipView = [[NSClipView alloc] initWithFrame: aInitFrame ];
...@@ -49,6 +49,7 @@ AquaSalObject::AquaSalObject( AquaSalFrame* pFrame, SystemWindowData* pWindowDat ...@@ -49,6 +49,7 @@ AquaSalObject::AquaSalObject( AquaSalFrame* pFrame, SystemWindowData* pWindowDat
} }
if (pWindowData && pWindowData->bOpenGL) if (pWindowData && pWindowData->bOpenGL)
{ {
maSysData.mbOpenGL = true;
NSOpenGLPixelFormat* pixFormat = NULL; NSOpenGLPixelFormat* pixFormat = NULL;
if (pWindowData->bLegacy) if (pWindowData->bLegacy)
......
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