From fbf9e86c38b98a7c5da19da4830f507999ccfb57 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Sun, 8 Jun 2003 23:34:25 +0000 Subject: [PATCH] bind the texture for rgba --- render2/texture.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.34.1