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

This commit is contained in:
kervala 2010-05-12 19:13:45 +02:00
parent 6901aaa0e4
commit 3449a727c0

View file

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