summaryrefslogtreecommitdiffstats
path: root/src/render/texture/qtexturedata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/texture/qtexturedata.cpp')
-rw-r--r--src/render/texture/qtexturedata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/texture/qtexturedata.cpp b/src/render/texture/qtexturedata.cpp
index a45789297..7cf97b433 100644
--- a/src/render/texture/qtexturedata.cpp
+++ b/src/render/texture/qtexturedata.cpp
@@ -534,7 +534,7 @@ bool QTexImageDataPrivate::setDdsFile(const QString &source)
const quint32 pixelFlags = qFromLittleEndian(header.pixelFormat.flags);
const quint32 fourCC = qFromLittleEndian(header.pixelFormat.fourCC);
- const FormatInfo *formatInfo = Q_NULLPTR;
+ const FormatInfo *formatInfo = nullptr;
if ((pixelFlags & FourCCFlag) == FourCCFlag) {
if (fourCC == DdsFourCC<'D', 'X', '1', '0'>::value) {
@@ -587,7 +587,7 @@ bool QTexImageDataPrivate::setDdsFile(const QString &source)
}
}
- if (formatInfo == Q_NULLPTR) {
+ if (formatInfo == nullptr) {
qWarning() << "Unrecognized pixel format in" << source;
return false;
}