diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-09-11 14:25:36 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-09-11 17:58:43 +0200 |
commit | 965cad21750b45206ceea4523d94b7ec92bb8ac6 (patch) | |
tree | b0bfaa36aeec545405a65afd19cd03e462a54068 /README | |
parent | 6ed5449ea0b8e7356304dd4f6705dcc0ac11647e (diff) | |
download | mana-965cad21750b45206ceea4523d94b7ec92bb8ac6.tar.gz mana-965cad21750b45206ceea4523d94b7ec92bb8ac6.tar.bz2 mana-965cad21750b45206ceea4523d94b7ec92bb8ac6.tar.xz mana-965cad21750b45206ceea4523d94b7ec92bb8ac6.zip |
Fixed OpenGLGraphics::drawRescaledImagePatternv0.5.3
This fixes overlay effects that are meant to scale with screen
resolution.
The problem was that the texture coordinates were not calculated
correctly. They were adjusted to the scaled size of the image, and when
scaling both the vertex and the texture coordinates, the image will
simply not appear scaled at all. Now the texture coordinates are
calculated based on the visible part of the original texture.
There was also a problem with the vertex coordinates, which were not
taking into account the visible part of the image.
TMW-Mantis-issue: 1047
Reviewed-by: Andrei Karas <akaras@inbox.ru>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions