From 577946c1f05aaaa2a3f9682001aeb4144386b26b Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 2 Oct 2024 09:57:19 +0200 Subject: Add Qt::Orientations based flip and flipped functions Is easier to read and more bool-trap safe. Old form header deprecated from 6.10 Fixes: QTBUG-129575 Change-Id: Id785b9ce159007ce745c04120b2112c8bb9b0802 Reviewed-by: Volker Hilsheimer --- src/opengl/qopengltextureblitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/opengl/qopengltextureblitter.cpp') diff --git a/src/opengl/qopengltextureblitter.cpp b/src/opengl/qopengltextureblitter.cpp index 41d230869c6..75b8b754018 100644 --- a/src/opengl/qopengltextureblitter.cpp +++ b/src/opengl/qopengltextureblitter.cpp @@ -674,7 +674,7 @@ void QOpenGLTextureBlitter::setOpacity(float opacity) \a texture corresponds to a texture attached to an FBO pass OriginBottomLeft. On the other hand, when \a texture is based on unflipped image data, pass OriginTopLeft. This is more efficient - than using QImage::mirrored(). + than using QImage::flipped(). \sa targetTransform(), Origin, bind() */ -- cgit v1.2.3