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:
parent
dd23aa11a2
commit
6852b4134f
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user