summaryrefslogtreecommitdiffstats
path: root/src/opengl/util/texture_brush.glsl
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-08-27 11:55:43 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-08-27 12:03:52 (GMT)
commitfffe92c1c46f8a78b7d2bcef08d18a3550e91293 (patch)
tree90e3011a548842dfabaf27442594a5b642f7f2df /src/opengl/util/texture_brush.glsl
parent6a81a485136f780d33ce2977482e8c0e53aef1eb (diff)
downloadQt-fffe92c1c46f8a78b7d2bcef08d18a3550e91293.zip
Qt-fffe92c1c46f8a78b7d2bcef08d18a3550e91293.tar.gz
Qt-fffe92c1c46f8a78b7d2bcef08d18a3550e91293.tar.bz2
Fix y orientation of pixmap brushes and pixmaptiles in gl1 engine
Reviewed-by: Samuel
Diffstat (limited to 'src/opengl/util/texture_brush.glsl')
-rw-r--r--src/opengl/util/texture_brush.glsl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/opengl/util/texture_brush.glsl b/src/opengl/util/texture_brush.glsl
index 93865b8..9498255 100644
--- a/src/opengl/util/texture_brush.glsl
+++ b/src/opengl/util/texture_brush.glsl
@@ -17,7 +17,5 @@ vec4 brush()
coords *= inv_brush_texture_size;
- coords.y = -coords.y;
-
return texture2D(brush_texture, coords);
}