mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 14:42:06 +00:00
Keeps -glx targets from re-meshing models every time they start up.
This commit is contained in:
parent
8ac1385c9f
commit
5f3c8c1738
1 changed files with 3 additions and 3 deletions
|
@ -330,10 +330,10 @@ void GL_MakeAliasModelDisplayLists (model_t *m, aliashdr_t *hdr)
|
|||
byte sig[2];
|
||||
long cachecrc;
|
||||
|
||||
Qread (f, sig, sizeof(sig));
|
||||
Qread (f, sig,sizeof(sig));
|
||||
Qread (f, &cachecrc, sizeof(cachecrc));
|
||||
|
||||
if ((memcmp(sig, "QF", sizeof("QF")) != 0) ||
|
||||
if ((memcmp(sig, "QF", sizeof(sig)) != 0) ||
|
||||
cachecrc != modelcrc)
|
||||
{
|
||||
Con_Printf ("Mismatched mesh on model %s\n",m->name);
|
||||
|
@ -376,7 +376,7 @@ void GL_MakeAliasModelDisplayLists (model_t *m, aliashdr_t *hdr)
|
|||
if (f)
|
||||
{
|
||||
byte sig[2];
|
||||
memcpy(sig, "QF", sizeof("QF"));
|
||||
memcpy(sig, "QF",2);
|
||||
Qwrite(f, sig, sizeof(sig));
|
||||
Qwrite(f, &modelcrc, sizeof(modelcrc));
|
||||
Qwrite(f, &numcommands, 4);
|
||||
|
|
Loading…
Reference in a new issue