Error: System doesn't support 24-bit RGB display


#1

I only have 16bits colors in linux.
I changed the following two lines but that didn’t help.

desiredVisual.depth = 16;
desiredVisual.bits_per_rgb = 5;

Anybody have an idea how to fix it?
Or is it possible at all?


#2