aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@crimson.no>2017-04-03 09:45:32 +0200
committerGunnar Sletta <gunnar@crimson.no>2017-04-04 08:20:39 +0000
commit09aa8ba83fcd68608173d949f7f4de155befb1c8 (patch)
treecc586786852d5bcac699967f697feecc2f06c045 /src/quick/scenegraph
parent4ba040b2e73ed2846e20589a57dbefca698c5352 (diff)
Document that wrap modes do not work with atlas textures
Change-Id: Ifa417644e10b947c4ca0b9c518cfd800b63142b5 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quick/scenegraph')
-rw-r--r--src/quick/scenegraph/util/qsgtexture.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/scenegraph/util/qsgtexture.cpp b/src/quick/scenegraph/util/qsgtexture.cpp
index bc59c49162..591b679ec4 100644
--- a/src/quick/scenegraph/util/qsgtexture.cpp
+++ b/src/quick/scenegraph/util/qsgtexture.cpp
@@ -256,6 +256,8 @@ static void qt_debug_remove_texture(QSGTexture* texture)
Specifies how the texture should treat texture coordinates.
+ \note Texture wrapping needs to be handled explicitly for atlas textures.
+
\value Repeat Only the factional part of the texture coordiante is
used, causing values above 1 and below 0 to repeat.