[Fix] Woops. Maybe it was me..
This commit is contained in:
parent
ba4b7239d4
commit
8eb62f218f
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user