summaryrefslogtreecommitdiffstats
path: root/tests/manual/qopenglwidget/dockedopenglwidget/mainwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/qopenglwidget/dockedopenglwidget/mainwidget.cpp')
-rw-r--r--tests/manual/qopenglwidget/dockedopenglwidget/mainwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/qopenglwidget/dockedopenglwidget/mainwidget.cpp b/tests/manual/qopenglwidget/dockedopenglwidget/mainwidget.cpp
index b9dc4c5fe24..4127995b8e5 100644
--- a/tests/manual/qopenglwidget/dockedopenglwidget/mainwidget.cpp
+++ b/tests/manual/qopenglwidget/dockedopenglwidget/mainwidget.cpp
@@ -110,7 +110,7 @@ void MainWidget::initShaders()
void MainWidget::initTextures()
{
// Load cube.png image
- texture = new QOpenGLTexture(QImage(":/cube.png").mirrored());
+ texture = new QOpenGLTexture(QImage(":/cube.png").flipped());
// Set nearest filtering mode for texture minification
texture->setMinificationFilter(QOpenGLTexture::Nearest);