From 8eb62f218ffe25fb3e581f3686116f5ce6714b12 Mon Sep 17 00:00:00 2001 From: Allanis Date: Sun, 17 Feb 2013 22:47:40 +0000 Subject: [PATCH] [Fix] Woops. Maybe it was me.. --- src/opengl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/opengl.c b/src/opengl.c index 707b826..69558d9 100644 --- a/src/opengl.c +++ b/src/opengl.c @@ -360,6 +360,8 @@ void gl_blitSprite(const glTexture* sprite, const Vec2* pos, const int sx, const double x, y, tx, ty; + glEnable(GL_TEXTURE_2D); + x = VX(*pos) - VX(*gl_camera) - sprite->sw/2. + gui_xoff; y = VY(*pos) - VY(*gl_camera) - sprite->sh/2. + gui_yoff;