summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-09-11 14:25:36 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-09-11 17:58:43 +0200
commit965cad21750b45206ceea4523d94b7ec92bb8ac6 (patch)
treeb0bfaa36aeec545405a65afd19cd03e462a54068 /NEWS
parent6ed5449ea0b8e7356304dd4f6705dcc0ac11647e (diff)
downloadmana-client-965cad21750b45206ceea4523d94b7ec92bb8ac6.tar.gz
mana-client-965cad21750b45206ceea4523d94b7ec92bb8ac6.tar.bz2
mana-client-965cad21750b45206ceea4523d94b7ec92bb8ac6.tar.xz
mana-client-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 'NEWS')
-rw-r--r--NEWS1
1 files changed, 1 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 97478837..a6ebfce8 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@
- Fixed endless loop when a sprite definition promises too many images
- Fixed crash when selecting a character that has a Dark Talisman equipped
- Fixed drawing glitch with overwide tiles
+- Fixed scaling of overlays in OpenGL mode
- Fixed building without OpenGL
0.5.2 (17 April 2011)