summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorweigao <weigao@multicorewareinc.com>2014-06-09 23:46:03 -0700
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-10 15:58:25 +0200
commit29eceedd7b290ea19aa8deb987b5d6f1fa355198 (patch)
treefbf54153bfea23bac142f619d0113804f190ead0 /vcl
parent9284a63adddde51ceb4730b870391b1e2af3de4a (diff)
Modified the depth bit to 24
Change-Id: I57387f9250c0c62c3cab7a75571d001fef99fdb4
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index 71e940944722..548790d63b4e 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -204,7 +204,7 @@ bool InitMultisample(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,16,
+ WGL_DEPTH_BITS_ARB,24,
WGL_STENCIL_BITS_ARB,0,
WGL_DOUBLE_BUFFER_ARB,GL_TRUE,
WGL_SAMPLE_BUFFERS_ARB,GL_TRUE,