Remove dead code

This commit is contained in:
Eric Wasylishen 2014-10-15 21:46:30 -06:00
parent f293b1b7f2
commit f4cd8e8e5f
2 changed files with 0 additions and 17 deletions

View file

@ -433,20 +433,6 @@ void GL_MakeAliasModelDisplayLists_VBO (void)
}
}
}
// create a hunk buffer for the final mesh we'll actually use
{
// vertex/fragment programs interpolate on the GPU and need to access the data directly
unsigned short *hunkndx = (unsigned short *) Hunk_Alloc (sizeof (unsigned short) * pheader->numverts_vbo);
// move these to aliasmesh struct???
pheader->vertindexes = (intptr_t) hunkndx - (intptr_t) pheader;
for (i = 0; i < pheader->numverts_vbo; i++)
{
hunkndx[i] = desc[i].vertindex;
}
}
}
static char scratchbuf[65536];

View file

@ -357,9 +357,6 @@ typedef struct {
intptr_t indexes;
int numindexes;
// only shaders use this
intptr_t vertindexes;
// offset to (trivertx_t *) Hunk_Alloc (paliashdr->numposes * paliashdr->vertsperframe * sizeof(trivertx_t))
intptr_t vertexes;