diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-11-10 11:05:00 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-11-10 11:08:02 +0200 |
commit | 3decb561ea97f3e363922d3560fe43037c63d466 (patch) | |
tree | 5329bdddba6d1cb28fc44711e1654144cbbd20b8 /vcl/source/opengl | |
parent | ecc421cab986a26fb250beba228cf0cb49fba5b0 (diff) |
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
Diffstat (limited to 'vcl/source/opengl')
-rw-r--r-- | vcl/source/opengl/OpenGLContext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx index ed035cb02035..695a2259c2ec 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 |