summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2017-10-05 17:13:37 +0200
committerMichael Meeks <michael.meeks@collabora.com>2017-10-16 14:51:33 +0100
commitf5dc03228163c9380a8647486c76fb250b1b51e9 (patch)
treee76de227f4949aead37f05ea720c23a02dd2983b
parent964d0904804a63ce0b5a0fed5f5b6d182b090ec3 (diff)
opengl: don't init depth buffer libreoffice-5-2-4-2-update-1
Change-Id: Ia83c85d36c3fd23b9d797766bf7d043e6c5d33b2
-rw-r--r--vcl/opengl/win/gdiimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/win/gdiimpl.cxx b/vcl/opengl/win/gdiimpl.cxx
index 8d1fbeaca1ed..742e13f4bb78 100644
--- a/vcl/opengl/win/gdiimpl.cxx
+++ b/vcl/opengl/win/gdiimpl.cxx
@@ -291,7 +291,7 @@ bool InitMultisample(const PIXELFORMATDESCRIPTOR& pfd, int& rPixelFormat,
WGL_ACCELERATION_ARB,WGL_FULL_ACCELERATION_ARB,
WGL_COLOR_BITS_ARB,24,
WGL_ALPHA_BITS_ARB,8,
- WGL_DEPTH_BITS_ARB,24,
+ //WGL_DEPTH_BITS_ARB,24,
WGL_STENCIL_BITS_ARB,0,
WGL_SAMPLE_BUFFERS_ARB,GL_TRUE,
WGL_SAMPLES_ARB,8,