summaryrefslogtreecommitdiffstats
path: root/src/opengl/util
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-10-14 08:36:36 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-10-14 08:39:31 (GMT)
commit42a67d48d8772b91f59c4141b278a46d402d4276 (patch)
treea4c18496f84a3f05fbeadd36a3dd469dbff6b9c1 /src/opengl/util
parent8e709c4a3b8c1b843a662111e23076f8a02b2735 (diff)
downloadQt-42a67d48d8772b91f59c4141b278a46d402d4276.zip
Qt-42a67d48d8772b91f59c4141b278a46d402d4276.tar.gz
Qt-42a67d48d8772b91f59c4141b278a46d402d4276.tar.bz2
Fixed upside down brush patterns in the OpenGL paint engines.
Task-number: QTBUG-2222 Reviewed-by: Gunnar
Diffstat (limited to 'src/opengl/util')
-rw-r--r--src/opengl/util/pattern_brush.glsl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/opengl/util/pattern_brush.glsl b/src/opengl/util/pattern_brush.glsl
index e070449..ac139b2 100644
--- a/src/opengl/util/pattern_brush.glsl
+++ b/src/opengl/util/pattern_brush.glsl
@@ -17,8 +17,6 @@ vec4 brush()
coords *= inv_brush_texture_size;
- coords.y = -coords.y;
-
float alpha = texture2D(brush_texture, coords).r;
return gl_Color * alpha;