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 881bd0d..5e76a7b 100644
--- a/src/adaptationlayers/mactexturemanager.cpp
+++ b/src/adaptationlayers/mactexturemanager.cpp
@@ -49,6 +49,7 @@ const TextureReference *QSGMacTextureManager::requestUploadedTexture(const QImag
GL_UNSIGNED_INT_8_8_8_8_REV, image.constBits());
glBindTexture(GL_TEXTURE_2D, 0);
+ glPixelStorei(GL_UNPACK_CLIENT_STORAGE_APPLE, 0);
QSGMacTextureReference *texture = new QSGMacTextureReference;
if (listener && slot) {