summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-07-18 19:11:14 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-07-23 21:51:42 +0200
commit887c088f20fe36b9b15484d0a5ec9416ba6cd310 (patch)
tree0c2ad05c3c4e1a35cb438475f0d93152844c3240 /vcl
parentea5ef0a72e5e608baf2c40700658a4fcba6a3759 (diff)
make libgltf compile on OSX
Change-Id: Ie39292137f931bfd557f66c485e104cf5d5089b8
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx1
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,