From: Derek Foreman Date: Sun, 8 Jun 2003 23:34:25 +0000 (+0000) Subject: bind the texture for rgba X-Git-Tag: gl-oldtheme~29 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=fbf9e86c38b98a7c5da19da4830f507999ccfb57;p=dana%2Fopenbox.git bind the texture for rgba --- diff --git a/render2/texture.c b/render2/texture.c index a1a119ed..97570ed7 100644 --- a/render2/texture.c +++ b/render2/texture.c @@ -98,6 +98,7 @@ void RrTexturePaint(struct RrSurface *sur, struct RrTexture *tex, break; case RR_TEXTURE_RGBA: glColor3f(1.0, 1.0, 1.0); + glBindTexture(GL_TEXTURE_2D, tex->data.rgba.texid); glBegin(GL_TRIANGLES); glVertex2i(x, y); glVertex2i(x+w, y);