summaryrefslogtreecommitdiffstats
path: root/src/render/texture/qtexture.cpp
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@qt.io>2017-07-11 14:17:28 +0200
committerAndy Nichols <andy.nichols@qt.io>2017-07-11 14:17:28 +0200
commit2dd6aa017685bd76f3a315871d07fdaef0e6d5f1 (patch)
tree3ee522501db89ab9d295bd169298497c0d86309e /src/render/texture/qtexture.cpp
parent06fa003da1dc6bc16616f3e687de8513d8b40a1c (diff)
parentcadfd44c77de9ad3d66e936df140e4ba6efb0d74 (diff)
Merge remote-tracking branch 'origin/5.9' into dev
Diffstat (limited to 'src/render/texture/qtexture.cpp')
-rw-r--r--src/render/texture/qtexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/texture/qtexture.cpp b/src/render/texture/qtexture.cpp
index a8feccb77..26dfe4d1d 100644
--- a/src/render/texture/qtexture.cpp
+++ b/src/render/texture/qtexture.cpp
@@ -703,7 +703,7 @@ QTextureImageDataPtr TextureLoadingHelper::loadTextureData(const QUrl &url, bool
if (!f.open(QIODevice::ReadOnly))
qWarning() << "Failed to open" << source;
else
- textureData = loadTextureData(&f, QFileInfo(source).suffix(), allow3D, mirrored);
+ textureData = loadTextureData(&f, QFileInfo(source).suffix().toLower(), allow3D, mirrored);
}
return textureData;
}