gl_mesh.c: add missing casts so that C++ compilers won't fail

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1244 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2015-08-23 09:55:02 +00:00
parent 439b8c2e1b
commit 6e5ba6d525

View file

@ -472,7 +472,7 @@ void GLMesh_LoadVertexBuffers (void)
if (!(m = cl.model_precache[j])) break;
if (m->type != mod_alias) continue;
hdr = Mod_Extradata (m);
hdr = (aliashdr_t *) Mod_Extradata (m);
// ericw -- RMQEngine stored these vbo*ofs values in aliashdr_t, but we must not
// mutate Mod_Extradata since it might be reloaded from disk, so I moved them to qmodel_t
@ -513,7 +513,7 @@ void GLMesh_LoadVertexBuffers (void)
if (!(m = cl.model_precache[j])) break;
if (m->type != mod_alias) continue;
hdr = Mod_Extradata (m);
hdr = (aliashdr_t *) Mod_Extradata (m);
desc = (aliasmesh_t *) ((byte *) hdr + hdr->meshdesc);
//johnfitz -- padded skins