[plasma/kwin] src/backends/drm: backends/drm: fix spelling of tetrahedral interpolation

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 2820b590068016b9ed1804b036f078669323ef03 by Vlad Zahorodnii, on behalf of Li Kai.
Committed on 30/07/2026 at 10:52.
Pushed by vladz into branch 'master'.

backends/drm: fix spelling of tetrahedral interpolation

M  +2    -2    src/backends/drm/drm_colorop.cpp
M  +1    -1    src/backends/drm/drm_colorop.h

https://invent.kde.org/plasma/kwin/-/commit/2820b590068016b9ed1804b036f078669323ef03

diff --git a/src/backends/drm/drm_colorop.cpp b/src/backends/drm/drm_colorop.cpp
index 3d09b3d6112..3f4fb263d50 100644
--- a/src/backends/drm/drm_colorop.cpp
+++ b/src/backends/drm/drm_colorop.cpp
@@ -768,7 +768,7 @@ void DrmLut3DColorOp::program(DrmAtomicCommit *commit, const std::deque<ColorOp:
     }
     commit->addBlob(*m_value, DrmBlob::create(m_value->drmObject()->gpu(), m_components.data(), m_components.size() * sizeof(LutComponent32)));
     if (m_interpolation) {
-        commit->addEnum(*m_interpolation, Lut3DInterpolation::Tetrahedal);
+        commit->addEnum(*m_interpolation, Lut3DInterpolation::Tetrahedral);
     }
     if (m_bypass) {
         commit->addProperty(*m_bypass, 0);
@@ -1078,7 +1078,7 @@ DrmColorOp::DrmColorOp(DrmGpu *gpu, uint32_t objectId)
                                                                      QByteArrayLiteral("Gamma 2.2 Inverse"),
                                                                  })
     , m_lut1dInterpolation(this, QByteArrayLiteral("LUT1D_INTERPOLATION"), {QByteArrayLiteral("Linear")})
-    , m_lut3dInterpolation(this, QByteArrayLiteral("LUT3D_INTERPOLATION"), {QByteArrayLiteral("Tetrahedal")})
+    , m_lut3dInterpolation(this, QByteArrayLiteral("LUT3D_INTERPOLATION"), {QByteArrayLiteral("Tetrahedral")})
 {
 }
 
diff --git a/src/backends/drm/drm_colorop.h b/src/backends/drm/drm_colorop.h
index 66824e24ac3..3533676d058 100644
--- a/src/backends/drm/drm_colorop.h
+++ b/src/backends/drm/drm_colorop.h
@@ -194,7 +194,7 @@ private:
 };
 
 enum class Lut3DInterpolation {
-    Tetrahedal = 0,
+    Tetrahedral = 0,
 };
 
 class DrmLut3DColorOp : public DrmAbstractColorOp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.