mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-15 08:31:03 +00:00
Remove dead code
This commit is contained in:
parent
f293b1b7f2
commit
f4cd8e8e5f
2 changed files with 0 additions and 17 deletions
|
@ -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];
|
||||
|
|
|
@ -356,9 +356,6 @@ typedef struct {
|
|||
intptr_t meshdesc;
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue