mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-15 08:21:03 -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
|
|
@ -101,8 +101,8 @@
|
|||
* OSC-11 without an alpha value will now restore the configured
|
||||
(i.e. from `foot.ini`) alpha, rather than keeping whatever the
|
||||
current alpha value is, unchanged.
|
||||
* `gamma-correct-blending=yes` now defaults to `16f-bit` image
|
||||
buffers, instead of `10-bit`.
|
||||
* `gamma-correct-blending=yes` now defaults to `16-bit` image buffers,
|
||||
instead of `10-bit`.
|
||||
|
||||
|
||||
### Deprecated
|
||||
|
|
|
|||
|
|
@ -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