mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
ATI suck almost as much as I do
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3205 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
740f4a09f9
commit
6b21ccabee
1 changed files with 1 additions and 1 deletions
|
@ -580,7 +580,7 @@ static void PPL_BaseChain_VBO_NoBump_2TMU_Overbright(msurface_t *s, texture_t *t
|
||||||
else
|
else
|
||||||
qglDisable(GL_TEXTURE_2D);
|
qglDisable(GL_TEXTURE_2D);
|
||||||
}
|
}
|
||||||
qglDrawRangeElements(GL_TRIANGLES, s->mesh->vbofirstvert, s->mesh->numvertexes, s->mesh->numindexes, GL_INDEX_TYPE, (index_t*)(s->mesh->vbofirstelement*sizeof(index_t)));
|
qglDrawRangeElements(GL_TRIANGLES, s->mesh->vbofirstvert, s->mesh->vbofirstvert+s->mesh->numvertexes-1, s->mesh->numindexes, GL_INDEX_TYPE, (index_t*)(s->mesh->vbofirstelement*sizeof(index_t)));
|
||||||
}
|
}
|
||||||
|
|
||||||
qglBindBufferARB(GL_ARRAY_BUFFER_ARB, 0);
|
qglBindBufferARB(GL_ARRAY_BUFFER_ARB, 0);
|
||||||
|
|
Loading…
Reference in a new issue