summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/adaptationlayers/mactexturemanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/adaptationlayers/mactexturemanager.cpp b/src/adaptationlayers/mactexturemanager.cpp
index 5e76a7b..43d019d 100644
--- a/src/adaptationlayers/mactexturemanager.cpp
+++ b/src/adaptationlayers/mactexturemanager.cpp
@@ -59,6 +59,7 @@ const TextureReference *QSGMacTextureManager::requestUploadedTexture(const QImag
texture->setTextureId(id);
texture->setTextureSize(image.size());
texture->setOwnsTexture(true);
+ texture->setAlphaChannel(image.hasAlphaChannel());
if (hints & TextureManager::SynchronousUploadHint) {
texture->setStatus(TextureReference::Uploaded);