From 29eceedd7b290ea19aa8deb987b5d6f1fa355198 Mon Sep 17 00:00:00 2001 From: weigao Date: Mon, 9 Jun 2014 23:46:03 -0700 Subject: [PATCH] Modified the depth bit to 24 Change-Id: I57387f9250c0c62c3cab7a75571d001fef99fdb4 --- vcl/source/opengl/OpenGLContext.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,