summaryrefslogtreecommitdiffstats
path: root/src/scenegraph/coreapi/qsgtexturemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scenegraph/coreapi/qsgtexturemanager.cpp')
-rw-r--r--src/scenegraph/coreapi/qsgtexturemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scenegraph/coreapi/qsgtexturemanager.cpp b/src/scenegraph/coreapi/qsgtexturemanager.cpp
index 31b8d5f..433a012 100644
--- a/src/scenegraph/coreapi/qsgtexturemanager.cpp
+++ b/src/scenegraph/coreapi/qsgtexturemanager.cpp
@@ -182,7 +182,7 @@ uint QSGTextureManagerPrivate::upload(const QImage &image, GLuint id)
QImage i = image.convertToFormat(QImage::Format_ARGB32_Premultiplied);
#ifdef QT_OPENGL_ES
- swizzleBGRAToRGBA(&i);
+ QSGTextureManager::swizzleBGRAToRGBA(&i);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, i.width(), i.height(), 0, GL_RGBA, GL_UNSIGNED_BYTE, i.constBits());
#else
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, image.width(), image.height(), 0, GL_BGRA, GL_UNSIGNED_BYTE, image.constBits());