GRIM: Fixed formatting.

This commit is contained in:
Joni Vähämäki 2013-01-02 02:20:51 +02:00
parent 8b283945e4
commit 2c5bfd586e
2 changed files with 3 additions and 7 deletions

View file

@ -609,8 +609,7 @@ void GfxOpenGL::drawSprite(const Sprite *sprite) {
glTexCoord2f(1.0f, 1.0f);
glVertex3f(+halfWidth, -halfHeight, 0.0f);
glEnd();
}
else {
} else {
// In Grim, the bottom edge of the sprite is at y=0 and
// the texture is flipped along the X-axis.
float halfWidth = (sprite->_width / 2) * _scaleW;