Bitmap: Fix blitshader draw_text path not taking squeezing into account

This commit is contained in:
Jonas Kulla 2014-08-28 14:53:28 +02:00
parent 20081cb07e
commit c88b4b03d6
1 changed files with 1 additions and 1 deletions

View File

@ -970,7 +970,7 @@ void Bitmap::drawText(const IntRect &rect, const char *str, int align)
GLMeta::blitEnd();
FloatRect bltRect(0, 0,
(float) gpTexSize.x / gpTex2.width,
(float) (gpTexSize.x * squeeze) / gpTex2.width,
(float) gpTexSize.y / gpTex2.height);
BltShader &shader = shState->shaders().blt;