diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-09-01 23:59:24 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-09-02 01:08:54 +0200 |
commit | 8b384c946cb6725d691123152f5e7c6ac0692185 (patch) | |
tree | bcdb61ec3c578afec8d2261733bc32f3090cfcde /include | |
parent | 6626d135299f91c20b338a858af8f42f4e3d07d0 (diff) |
support legacy and core context on OSX
Change-Id: Ib8cadb3f182ce49c0ca8b6ccaa95960eb8e5f9ae
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/opengl/OpenGLContext.hxx | 2 | ||||
-rw-r--r-- | include/vcl/sysdata.hxx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx index 7ce6763c488f..79f97fc5610d 100644 --- a/include/vcl/opengl/OpenGLContext.hxx +++ b/include/vcl/opengl/OpenGLContext.hxx @@ -181,7 +181,7 @@ public: bool supportMultiSampling() const; - static SystemWindowData generateWinData(Window* pParent); + static SystemWindowData generateWinData(Window* pParent, bool bRequestLegacyContext); private: SAL_DLLPRIVATE bool initWindow(); diff --git a/include/vcl/sysdata.hxx b/include/vcl/sysdata.hxx index 8ac816a1a261..4cfc7378b596 100644 --- a/include/vcl/sysdata.hxx +++ b/include/vcl/sysdata.hxx @@ -178,6 +178,7 @@ struct SystemWindowData #if defined( WNT ) // meaningless on Windows #elif defined( MACOSX ) bool bOpenGL; // create a OpenGL providing NSView + bool bLegacy; // create a 2.1 legacy context, only valid if bOpenGL == true // Nothing #elif defined( ANDROID ) // Nothing |