summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex/qglengineshadersource_p.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-08-27 12:57:57 +0200
committerGunnar Sletta <gunnar@trolltech.com>2009-08-27 12:57:57 +0200
commit6a81a485136f780d33ce2977482e8c0e53aef1eb (patch)
tree7fc33ba9cebe8a6ba5c32480b73411073748cd24 /src/opengl/gl2paintengineex/qglengineshadersource_p.h
parentfbef539a2a1ec5469b61ea69e72a0538e129e1a4 (diff)
Don't flip texture coords in texture brushes in accordance with new bindTexture
Reviewed-by: Trond
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 cd3cf57453..c8e85abadb 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