diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-08-27 10:57:57 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-08-27 10:57:57 (GMT) |
commit | 6a81a485136f780d33ce2977482e8c0e53aef1eb (patch) | |
tree | 7fc33ba9cebe8a6ba5c32480b73411073748cd24 /src/opengl/gl2paintengineex/qglengineshadersource_p.h | |
parent | fbef539a2a1ec5469b61ea69e72a0538e129e1a4 (diff) | |
download | Qt-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/qglengineshadersource_p.h')
-rw-r--r-- | src/opengl/gl2paintengineex/qglengineshadersource_p.h | 1 |
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 |