diff options
| author | Joel Klinghed <the_jk@opera.com> | 2017-09-27 10:51:23 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@opera.com> | 2017-09-27 10:51:23 +0200 |
| commit | 69031e2a0097b2367205b88e038026c56cda3471 (patch) | |
| tree | 711e147a2a5c3840b281d7ed118e9117ec72a4ac /src/io.hh | |
| parent | 5e90e8786a089930d49adce5696508cc959a6045 (diff) | |
Improve x::get_best_format
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 :/
Diffstat (limited to 'src/io.hh')
0 files changed, 0 insertions, 0 deletions
