aboutsummaryrefslogtreecommitdiff
path: root/render.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-05-01 06:34:49 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-05-01 08:19:35 +0000
commit2a8948a3f32eaa6894457dcbf5aced57bdd91853 (patch)
tree09ad3f804551246a268dab9c4f108d9e06445312 /render.h
parentconfig: gamma-correct-blending: disable by default (diff)
config: tweak.surface-bit-depth now defaults to 'auto'
When set to 'auto', use 10-bit surfaces if gamma-correct blending is enabled, and 8-bit surfaces otherwise. Note that we may still fallback to 8-bit surfaces (without disabling gamma-correct blending) if the compositor does not support 10-bit surfaces. Closes #2082
Diffstat (limited to 'render.h')
-rw-r--r--render.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/render.h b/render.h
index c7b8e4a5..81d2a905 100644
--- a/render.h
+++ b/render.h
@@ -47,5 +47,3 @@ struct csd_data {
};
struct csd_data get_csd_data(const struct terminal *term, enum csd_surface surf_idx);
-
-bool render_do_linear_blending(const struct terminal *term);