summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-08-27 10:57:57 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-08-27 10:57:57 (GMT)
commit6a81a485136f780d33ce2977482e8c0e53aef1eb (patch)
tree7fc33ba9cebe8a6ba5c32480b73411073748cd24 /src/opengl/gl2paintengineex
parentfbef539a2a1ec5469b61ea69e72a0538e129e1a4 (diff)
downloadQt-6a81a485136f780d33ce2977482e8c0e53aef1eb.zip
Qt-6a81a485136f780d33ce2977482e8c0e53aef1eb.tar.gz
Qt-6a81a485136f780d33ce2977482e8c0e53aef1eb.tar.bz2
Don't flip texture coords in texture brushes in accordance with new bindTexture
Reviewed-by: Trond
Diffstat (limited to 'src/opengl/gl2paintengineex')
-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 cd3cf57..c8e85ab 100644
--- a/src/opengl/gl2paintengineex/qglengineshadersource_p.h
+++ b/src/opengl/gl2paintengineex/qglengineshadersource_p.h
@@ -255,7 +255,6 @@ static const char* const qglslPositionWithTextureBrushVertexShader = "\
gl_Position.xy = gl_Position.xy * invertedHTexCoordsZ; \
gl_Position.w = invertedHTexCoordsZ; \
brushTextureCoords.xy = (hTexCoords.xy * invertedTextureSize) * gl_Position.w; \
- brushTextureCoords.y = -brushTextureCoords.y; \
}";
static const char* const qglslAffinePositionWithTextureBrushVertexShader