mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-20 06:46:26 -04:00
Strip out 16f-bit surfaces, for now
pixman 0.46.0 has been released, with support for 16-bit integer images. Let's get that merged before 16f-bit.
This commit is contained in:
parent
2d23010c23
commit
e2259e08a6
9 changed files with 13 additions and 64 deletions
7
config.c
7
config.c
|
|
@ -2811,12 +2811,7 @@ parse_section_tweak(struct context *ctx)
|
|||
_Static_assert(sizeof(conf->tweak.surface_bit_depth) == sizeof(int),
|
||||
"enum is not 32-bit");
|
||||
|
||||
#if defined(HAVE_PIXMAN_RGBA_FLOAT16)
|
||||
return value_to_enum(
|
||||
ctx,
|
||||
(const char *[]){"auto", "8-bit", "10-bit", "16-bit", "16f-bit", NULL},
|
||||
(int *)&conf->tweak.surface_bit_depth);
|
||||
#elif defined(HAVE_PIXMAN_RGBA_16)
|
||||
#if defined(HAVE_PIXMAN_RGBA_16)
|
||||
return value_to_enum(
|
||||
ctx,
|
||||
(const char *[]){"auto", "8-bit", "10-bit", "16-bit", NULL},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue