-
Matthew Mott authored
Although the wxGLCanvas wiki tutorial uses a depth buffer of 16 bits, this is extremely low precision for a depth buffer, and is likely the cause of the Z fighting issues described in #5502. We now set it to the more usual 24 bits, as confirmed by OpenGL tutorials such as https://learnopengl.com/Advanced-OpenGL/Depth-testing