summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex/qglengineshadersource_p.h
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/gl2paintengineex/qglengineshadersource_p.h
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/gl2paintengineex/qglengineshadersource_p.h')
-rw-r--r--src/opengl/gl2paintengineex/qglengineshadersource_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/opengl/gl2paintengineex/qglengineshadersource_p.h b/src/opengl/gl2paintengineex/qglengineshadersource_p.h
index 6712bf6..3eef808 100644
--- a/src/opengl/gl2paintengineex/qglengineshadersource_p.h
+++ b/src/opengl/gl2paintengineex/qglengineshadersource_p.h
@@ -131,7 +131,6 @@ static const char* const qglslPositionWithPatternBrushVertexShader = "\
gl_Position.xy = gl_Position.xy * invertedHTexCoordsZ; \
gl_Position.w = invertedHTexCoordsZ; \
patternTexCoords.xy = (hTexCoords.xy * 0.125) * invertedHTexCoordsZ; \
- patternTexCoords.y = -patternTexCoords.y; \
}";
static const char* const qglslAffinePositionWithPatternBrushVertexShader