[Libreoffice-commits] core.git: vcl/osx
Tor Lillqvist
tml at collabora.com
Tue Nov 10 01:18:20 PST 2015
vcl/osx/salobj.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 892ac9d1d477f2c9cb3805ee013e5bf4b4d11ede
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Nov 10 11:17:33 2015 +0200
Use a depth buffer on OS X, too
Change-Id: I35fa7c2dcec0731aed1f5effefa131ce3007d010
diff --git a/vcl/osx/salobj.cxx b/vcl/osx/salobj.cxx
index 58e2c64..ca09d6c 100644
--- a/vcl/osx/salobj.cxx
+++ b/vcl/osx/salobj.cxx
@@ -59,6 +59,7 @@ AquaSalObject::AquaSalObject( AquaSalFrame* pFrame, SystemWindowData* pWindowDat
NSOpenGLPFADoubleBuffer,
NSOpenGLPFAAlphaSize, 8,
NSOpenGLPFAColorSize, 24,
+ NSOpenGLPFADepthSize, 24,
NSOpenGLPFAMultisample,
NSOpenGLPFASampleBuffers, (NSOpenGLPixelFormatAttribute)1,
NSOpenGLPFASamples, (NSOpenGLPixelFormatAttribute)4,
@@ -74,6 +75,7 @@ AquaSalObject::AquaSalObject( AquaSalFrame* pFrame, SystemWindowData* pWindowDat
NSOpenGLPFADoubleBuffer,
NSOpenGLPFAAlphaSize, 8,
NSOpenGLPFAColorSize, 24,
+ NSOpenGLPFADepthSize, 24,
NSOpenGLPFAMultisample,
NSOpenGLPFASampleBuffers, (NSOpenGLPixelFormatAttribute)1,
NSOpenGLPFASamples, (NSOpenGLPixelFormatAttribute)4,
More information about the Libreoffice-commits
mailing list