This commit is contained in:
Bill Currie 2002-08-08 04:41:41 +00:00
parent 3baec9e856
commit cbde41c669

View file

@ -364,18 +364,7 @@ static inline void
flush_text (void) flush_text (void)
{ {
qfglBindTexture (GL_TEXTURE_2D, char_texture); qfglBindTexture (GL_TEXTURE_2D, char_texture);
if (0) { qfglDrawElements (GL_QUADS, tVAcount, GL_UNSIGNED_INT, tVAindices);
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 ();
}
tVAcount = 0; tVAcount = 0;
tV = textVertices; tV = textVertices;
tC = textCoords; tC = textCoords;