[Fix] Woops. Maybe it was me..

This commit is contained in:
Allanis 2013-02-17 22:47:40 +00:00
parent ba4b7239d4
commit 8eb62f218f

View File

@ -360,6 +360,8 @@ void gl_blitSprite(const glTexture* sprite, const Vec2* pos, const int sx, const
double x, y, tx, ty; double x, y, tx, ty;
glEnable(GL_TEXTURE_2D);
x = VX(*pos) - VX(*gl_camera) - sprite->sw/2. + gui_xoff; x = VX(*pos) - VX(*gl_camera) - sprite->sw/2. + gui_xoff;
y = VY(*pos) - VY(*gl_camera) - sprite->sh/2. + gui_yoff; y = VY(*pos) - VY(*gl_camera) - sprite->sh/2. + gui_yoff;