fix a typo that caused weirdness with the lerping

This commit is contained in:
Bill Currie 2002-08-03 06:13:35 +00:00
parent cf48363c6e
commit 9c08f5b169
2 changed files with 13 additions and 2 deletions

View file

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

View file

@ -422,7 +422,7 @@ GL_GetAliasFrameVerts (int frame, aliashdr_t *paliashdr, entity_t *e)
verts1 = verts + e->pose1 * count;
verts2 = verts + e->pose2 * count;
if (blend == 1.0) {
if (blend == 0.0) {
verts = verts1;
} else if (blend == 1.0) {
verts = verts2;