diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-09-01 01:18:09 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-09-02 01:08:52 +0200 |
commit | e65acd2ebbb85d557068692674f317ff3a038e9b (patch) | |
tree | 5bececa0eb86c78ed1f3efdfc06e9d8d3a605973 /include | |
parent | ff3321cf775871f34985cd3e1d2c9fa25738037a (diff) |
use SystemWindowData to request a NSOpenGLWindow
Change-Id: Ief50a2fc533846cd61be66b1ea166a992942083b
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/sysdata.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/vcl/sysdata.hxx b/include/vcl/sysdata.hxx index 59aaaa06a9d8..8ac816a1a261 100644 --- a/include/vcl/sysdata.hxx +++ b/include/vcl/sysdata.hxx @@ -51,6 +51,7 @@ struct SystemEnvData HWND hWnd; // the window hwnd #elif defined( MACOSX ) NSView* mpNSView; // the cocoa (NSView *) implementing this object + bool mbOpenGL; // use a OpenGL providing NSView #elif defined( ANDROID ) // Nothing #elif defined( IOS ) @@ -75,6 +76,7 @@ struct SystemEnvData , hWnd(0) #elif defined( MACOSX ) , mpNSView(NULL) + , mbOpenGL(false) #elif defined( ANDROID ) #elif defined( IOS ) #elif defined( UNX ) @@ -174,7 +176,8 @@ struct SystemWindowData { unsigned long nSize; // size in bytes of this structure #if defined( WNT ) // meaningless on Windows -#elif defined( MACOSX ) // meaningless on Mac OS X +#elif defined( MACOSX ) + bool bOpenGL; // create a OpenGL providing NSView // Nothing #elif defined( ANDROID ) // Nothing |