vcl/source/opengl/OpenGLContext.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3decb561ea97f3e363922d3560fe43037c63d466 Author: Tor Lillqvist <t...@collabora.com> Date: Tue Nov 10 11:05:00 2015 +0200 Surely a 24-bit depth buffer is enough We asked for a 64-bit one, which is rather preposterous. And the comment claimed we asked for a 32-bit one. Funnily, this same odd code and comment is found in half a dozen code samples on the Internet... Copy pasta rules. Change-Id: Ie54a7b75e07cfe0ffd98ec330ce63158d2d15415 diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx index ed035cb..695a225 100644 --- a/vcl/source/opengl/OpenGLContext.cxx +++ b/vcl/source/opengl/OpenGLContext.cxx @@ -825,7 +825,7 @@ bool OpenGLContext::ImplInit() 0, // Shift Bit Ignored 0, // No Accumulation Buffer 0, 0, 0, 0, // Accumulation Bits Ignored - 64, // 32 bit Z-BUFFER + 24, // 24 bit z-buffer 8, // stencil buffer 0, // No Auxiliary Buffer 0, // now ignored _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits