Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 17320b27 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Fix build without openexr

Should we make this a required dependency by now?
parent 3fb4c3bc
......@@ -33,8 +33,14 @@
#include "KoColorSpaceRegistry.h"
#include "KoChannelInfo.h"
#include <QGlobalStatic>
#include <KoConfig.h>
#include <half.h>
namespace {
struct DefaultKoColorInitializer
......@@ -383,10 +389,12 @@ QDebug operator<<(QDebug dbg, const KoColor &color)
const quint32 *ptr = reinterpret_cast<const quint32*>( + ch->pos());
dbg.nospace() << *ptr;
} case KoChannelInfo::FLOAT16: {
const half *ptr = reinterpret_cast<const half*>( + ch->pos());
dbg.nospace() << *ptr;
} case KoChannelInfo::FLOAT32: {
const float *ptr = reinterpret_cast<const float*>( + ch->pos());
dbg.nospace() << *ptr;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment