summaryrefslogtreecommitdiff
path: root/kms++util
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2025-03-27 17:24:11 +0200
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2025-03-27 17:24:11 +0200
commitdf4a5c1d3d01c04c7bc92747d5b85abe3ecf1db7 (patch)
tree895210c4f869e2f9c9e59a8936a6eae53fddcb65 /kms++util
parent34e2b565c696874e2ab49047a1b3331ae8bbe04b (diff)
conv: Drop extra constexpr value
Diffstat (limited to 'kms++util')
-rw-r--r--kms++util/src/conv-rgb.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/kms++util/src/conv-rgb.h b/kms++util/src/conv-rgb.h
index e03ded1..57791d5 100644
--- a/kms++util/src/conv-rgb.h
+++ b/kms++util/src/conv-rgb.h
@@ -195,7 +195,6 @@ class ARGB_Writer
static constexpr size_t b_idx = Plane::template find_pos<ComponentType::B>();
static constexpr size_t a_shift = has_alpha ? 16 - Plane::template component_size<a_idx> : 0;
- static constexpr size_t x_shift = has_padding ? 16 - Plane::template component_size<x_idx> : 0;
static constexpr size_t r_shift = 16 - Plane::template component_size<r_idx>;
static constexpr size_t g_shift = 16 - Plane::template component_size<g_idx>;
static constexpr size_t b_shift = 16 - Plane::template component_size<b_idx>;