mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-17 06:46:21 -04:00
term: gamma-correct-blending=yes uses 16-bit integer surfaces by default
This commit is contained in:
parent
5dbf5ea89d
commit
763ea2eb4a
2 changed files with 3 additions and 3 deletions
|
|
@ -1259,7 +1259,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper,
|
|||
|
||||
const enum shm_bit_depth desired_bit_depth =
|
||||
conf->tweak.surface_bit_depth == SHM_BITS_AUTO
|
||||
? wayl_do_linear_blending(wayl, conf) ? SHM_BITS_16F : SHM_BITS_8
|
||||
? wayl_do_linear_blending(wayl, conf) ? SHM_BITS_16 : SHM_BITS_8
|
||||
: conf->tweak.surface_bit_depth;
|
||||
|
||||
const struct color_theme *theme = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue