From 83cd96307fd7a28157d47cefa042a2fc63a0d259 Mon Sep 17 00:00:00 2001 From: Andreas Eliasson Date: Thu, 23 Jan 2025 11:28:24 +0100 Subject: [PATCH] Doc: Fix method docs for QOpenGLTexture::setWrapMode The current method description seems like a copy-paste left-over. Fixes: QTBUG-57209 Pick-to: 6.8 6.7 6.5 6.2 5.15 Change-Id: Ife9f9f7bc97d990f5d447208bd39c2d2b6a614fd Reviewed-by: Laszlo Agocs (cherry picked from commit 9182f60b455cead33c0f4fd4e452b210e2de0fca) Reviewed-by: Qt Cherry-pick Bot --- src/opengl/qopengltexture.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/opengl/qopengltexture.cpp b/src/opengl/qopengltexture.cpp index d6e9f374b4e..59c84bd9fb1 100644 --- a/src/opengl/qopengltexture.cpp +++ b/src/opengl/qopengltexture.cpp @@ -4441,7 +4441,8 @@ void QOpenGLTexture::setWrapMode(QOpenGLTexture::WrapMode mode) } /*! - Holds the texture dimension \a direction. + Sets the wrap (or repeat mode) for the texture dimension \a direction + to \a mode. \overload */ void QOpenGLTexture::setWrapMode(QOpenGLTexture::CoordinateDirection direction, QOpenGLTexture::WrapMode mode)