diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-07-18 19:11:14 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-07-23 21:51:42 +0200 |
commit | 887c088f20fe36b9b15484d0a5ec9416ba6cd310 (patch) | |
tree | 0c2ad05c3c4e1a35cb438475f0d93152844c3240 /vcl | |
parent | ea5ef0a72e5e608baf2c40700658a4fcba6a3759 (diff) |
make libgltf compile on OSX
Change-Id: Ie39292137f931bfd557f66c485e104cf5d5089b8
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/opengl/OpenGLContext.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx index bf63d0968d69..ee916bb56687 100644 --- a/vcl/source/opengl/OpenGLContext.cxx +++ b/vcl/source/opengl/OpenGLContext.cxx @@ -475,6 +475,7 @@ bool OpenGLContext::ImplInit() #elif defined( MACOSX ) CGLPixelFormatAttribute pixelFormatAttributes[] = { + kCGLPFAOpenGLProfile, (CGLPixelFormatAttribute) kCGLOGLPVersion_3_2_Core, kCGLPFAColorSize, (CGLPixelFormatAttribute) 24, kCGLPFAAlphaSize, (CGLPixelFormatAttribute) 8, kCGLPFADoubleBuffer, |