mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
allow triangle/frame limits too
This commit is contained in:
parent
561a0fe768
commit
efe02e2a42
1 changed files with 2 additions and 2 deletions
|
@ -319,8 +319,8 @@ static md2_model_t *md2_readModel(const char *filename)
|
||||||
// Uncomment if these are actually needed
|
// Uncomment if these are actually needed
|
||||||
// MD2LIMITCHECK(model->header.numSkins, MD2_MAX_SKINS, "skins")
|
// MD2LIMITCHECK(model->header.numSkins, MD2_MAX_SKINS, "skins")
|
||||||
// MD2LIMITCHECK(model->header.numTexCoords, MD2_MAX_TEXCOORDS, "texture coordinates")
|
// MD2LIMITCHECK(model->header.numTexCoords, MD2_MAX_TEXCOORDS, "texture coordinates")
|
||||||
// MD2LIMITCHECK(model->header.numTriangles, MD2_MAX_TRIANGLES, "triangles")
|
MD2LIMITCHECK(model->header.numTriangles, MD2_MAX_TRIANGLES, "triangles")
|
||||||
// MD2LIMITCHECK(model->header.numFrames, MD2_MAX_FRAMES, "frames")
|
MD2LIMITCHECK(model->header.numFrames, MD2_MAX_FRAMES, "frames")
|
||||||
MD2LIMITCHECK(model->header.numVertices, MD2_MAX_VERTICES, "vertices")
|
MD2LIMITCHECK(model->header.numVertices, MD2_MAX_VERTICES, "vertices")
|
||||||
|
|
||||||
#undef MD2LIMITCHECK
|
#undef MD2LIMITCHECK
|
||||||
|
|
Loading…
Reference in a new issue