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]
This commit is contained in:
Jonathan Westhues 2008-07-08 22:41:42 -08:00
parent dd23aa11a2
commit 6852b4134f

View File

@ -502,8 +502,8 @@ static void CreateGlContext(void)
PFD_DOUBLEBUFFER; PFD_DOUBLEBUFFER;
pfd.dwLayerMask = PFD_MAIN_PLANE; pfd.dwLayerMask = PFD_MAIN_PLANE;
pfd.iPixelType = PFD_TYPE_RGBA; pfd.iPixelType = PFD_TYPE_RGBA;
pfd.cColorBits = 16; pfd.cColorBits = 32;
pfd.cDepthBits = 16; pfd.cDepthBits = 24;
pfd.cAccumBits = 0; pfd.cAccumBits = 0;
pfd.cStencilBits = 0; pfd.cStencilBits = 0;