GRIM: Fixed formatting.
This commit is contained in:
parent
8b283945e4
commit
2c5bfd586e
2 changed files with 3 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue