mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 12:10:48 +00:00
fix a typo that caused weirdness with the lerping
This commit is contained in:
parent
cf48363c6e
commit
9c08f5b169
2 changed files with 13 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue