mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
damnit!
This commit is contained in:
parent
3baec9e856
commit
cbde41c669
1 changed files with 1 additions and 12 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue