Fixed: #884 24bpp support (patch provided by ThibG)

This commit is contained in:
kervala 2010-05-12 19:13:45 +02:00
parent 053ec7f6c0
commit 4b1e47e6d1

View file

@ -1058,7 +1058,7 @@ bool CDriverGL::setDisplay(void *wnd, const GfxMode &mode, bool show, bool resiz
GLX_RGBA,
GLX_DOUBLEBUFFER,
//GLX_BUFFER_SIZE, 32,
GLX_DEPTH_SIZE, 24,
GLX_DEPTH_SIZE, 32,
GLX_RED_SIZE, 8,
GLX_GREEN_SIZE, 8,
GLX_BLUE_SIZE, 8,