From 6852b4134f1a9568cc0a5cc43e5f85a52adc5c26 Mon Sep 17 00:00:00 2001 From: Jonathan Westhues Date: Tue, 8 Jul 2008 22:41:42 -0800 Subject: [PATCH] Request a deeper z buffer and color depth. Doesn't seem like that could hurt, but still make offsets work as if it's a 16 bit buffer, since I don't seem to actually get 24 bits. [git-p4: depot-paths = "//depot/solvespace/": change = 1828] --- win32/w32main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win32/w32main.cpp b/win32/w32main.cpp index beaccae..2662169 100644 --- a/win32/w32main.cpp +++ b/win32/w32main.cpp @@ -502,8 +502,8 @@ static void CreateGlContext(void) PFD_DOUBLEBUFFER; pfd.dwLayerMask = PFD_MAIN_PLANE; pfd.iPixelType = PFD_TYPE_RGBA; - pfd.cColorBits = 16; - pfd.cDepthBits = 16; + pfd.cColorBits = 32; + pfd.cDepthBits = 24; pfd.cAccumBits = 0; pfd.cStencilBits = 0;