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

hg/feature/sound
kervala 15 years ago
parent 6901aaa0e4
commit 3449a727c0

@ -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,

Loading…
Cancel
Save