From ed9502b18cd5f1680bd133a77b3d6acb91098220 Mon Sep 17 00:00:00 2001 From: ExMix Date: Tue, 29 Oct 2013 11:39:48 +0300 Subject: [PATCH] fix animation. Never use opengl MAG_FILTER algo with GL_LINEAR. Texture borders looks agly --- map/bookmark_balloon.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/map/bookmark_balloon.cpp b/map/bookmark_balloon.cpp index 3a609e860b..17b016ef91 100644 --- a/map/bookmark_balloon.cpp +++ b/map/bookmark_balloon.cpp @@ -201,14 +201,14 @@ void BookmarkBalloon::animTaskEnded(int animIndex) switch(animIndex) { case 0: - createTask(0.1, 1.05, 0.0, 0.0, 0.1, 1); + createTask(0.1, 0.95, 0.0, 0.0, 0.1, 1); isVisibleTextAndImage = false; break; case 1: - createTask(1.05, 0.95, -2.0, 5.0, 0.05, 2); + createTask(0.95, 0.9, 0.0, 3.0, 0.04, 2); break; case 2: - createTask(0.95, 1.0, 5.0, 0.0, 0.02, 3); + createTask(0.9, 1.0, 3.0, 0.0, 0.05, 3); break; }