Modified the depth bit to 24

Change-Id: I57387f9250c0c62c3cab7a75571d001fef99fdb4
This commit is contained in:
weigao
2014-06-09 23:46:03 -07:00
committed by Markus Mohrhard
parent 9284a63add
commit 29eceedd7b

View File

@@ -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,