Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Change composite-type for `float` to `float`
Dmitry Kazakovf2ed2c2655a5
diff --git a/libs/pigment/KoColorSpaceMaths.h b/libs/pigment/KoColorSpaceMaths.hindex 9891c22c94..8d10da1e29 100644--- a/libs/pigment/KoColorSpaceMaths.h+++ b/libs/pigment/KoColorSpaceMaths.h@@ -129,7 +129,7 @@ template<>class KRITAPIGMENT_EXPORT KoColorSpaceMathsTraits<float>{public:- typedef double compositetype;+ typedef float compositetype;typedef double mixtype;static const float zeroValue;static const float unitValue;@@ -396,7 +396,7 @@ inline float KoColorSpaceMaths<float>::blend(float a, float b, float alpha)}template<>-inline double KoColorSpaceMaths<float>::clamp(double a)+inline float KoColorSpaceMaths<float>::clamp(float a){return a;}