From cbde41c66910bcff872ec9b9e235563a3e5acdff Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 8 Aug 2002 04:41:41 +0000 Subject: [PATCH] damnit! --- libs/video/renderer/gl/gl_draw.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/libs/video/renderer/gl/gl_draw.c b/libs/video/renderer/gl/gl_draw.c index 000ce5f02..5fa27e889 100644 --- a/libs/video/renderer/gl/gl_draw.c +++ b/libs/video/renderer/gl/gl_draw.c @@ -364,18 +364,7 @@ static inline void flush_text (void) { qfglBindTexture (GL_TEXTURE_2D, char_texture); - if (0) { - qfglDrawElements (GL_QUADS, tVAcount, GL_UNSIGNED_INT, tVAindices); - } else { - int i; - - qfglBegin (GL_QUADS); - for (i = 0; i < tVAcount; i++) { - qfglTexCoord2fv (textCoords + tVAindices[i] * 2); - qfglVertex2fv (textVertices + tVAindices[i] * 2); - } - qfglEnd (); - } + qfglDrawElements (GL_QUADS, tVAcount, GL_UNSIGNED_INT, tVAindices); tVAcount = 0; tV = textVertices; tC = textCoords;