summaryrefslogtreecommitdiff
path: root/src/x.cc
AgeCommit message (Collapse)Author
2017-09-27Improve x::get_best_formatJoel Klinghed
Allow bits_per_rgb_value to be >= 8 Pick the first matched depth. Ended up matching a 32 bit depth (TrueColor) as all 24 bit depths (DirectColor) as they used 11 bits per rgb value. The screen did not support creating a window with depth 32 depth :/
2017-09-27Fix x::get_best_formatJoel Klinghed
2017-09-26Initial commitJoel Klinghed