mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-15 08:31:03 +00:00
Whoops
This commit is contained in:
parent
77306075d1
commit
af6131d944
1 changed files with 2 additions and 2 deletions
|
@ -366,12 +366,12 @@ void GL_MakeAliasModelDisplayLists_VBO (void)
|
||||||
{
|
{
|
||||||
int i, j;
|
int i, j;
|
||||||
int maxverts_vbo;
|
int maxverts_vbo;
|
||||||
|
trivertx_t *verts;
|
||||||
|
|
||||||
if (!gl_glsl_able)
|
if (!gl_glsl_able)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// ericw -- first, copy the verts onto the hunk
|
// ericw -- first, copy the verts onto the hunk
|
||||||
trivertx_t *verts;
|
|
||||||
|
|
||||||
verts = (trivertx_t *) Hunk_Alloc (paliashdr->numposes * paliashdr->numverts * sizeof(trivertx_t));
|
verts = (trivertx_t *) Hunk_Alloc (paliashdr->numposes * paliashdr->numverts * sizeof(trivertx_t));
|
||||||
paliashdr->vertexes = (byte *)verts - (byte *)paliashdr;
|
paliashdr->vertexes = (byte *)verts - (byte *)paliashdr;
|
||||||
|
|
Loading…
Reference in a new issue