desktop_color_depth (3) Linux Manual Page
NAME desktop_color_depth – Finds out the desktop color depth. Allegro game programming library. SYNOPSIS #include <allegro.h> int desktop_color_depth(); DESCRIPTION Finds out the currently selected desktop color depth. You can use this information to make your program use the same color depth as the desktop, which will likely make it run faster because the graphic driver…
