HACK: switch X from 16bit to 24bit visual
This commit is contained in:
parent
63eae6dd99
commit
670ee693dd
|
@ -84,7 +84,7 @@ int lm_display_init(void)
|
|||
hint.flags = PPosition | PSize;
|
||||
|
||||
/* Make the window */
|
||||
if (!XMatchVisualInfo(display, screen, 16, TrueColor, &vinfo)) {
|
||||
if (!XMatchVisualInfo(display, screen, 24, TrueColor, &vinfo)) {
|
||||
printf("A 16 bit visual is need by this program\n");
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue