mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-22 17:12:25 -05:00
Consoles: Fix custom models never working and crashing Vita port
This commit is contained in:
parent
9f7a7bcfb5
commit
3e8fc0ddcf
1 changed files with 3 additions and 2 deletions
|
@ -874,8 +874,9 @@ void CustomModel_Register(struct CustomModel* cm) {
|
|||
static struct ModelTex customDefaultTex;
|
||||
|
||||
CheckMaxVertices();
|
||||
cm->model.name = cm->name;
|
||||
cm->model.defaultTex = &customDefaultTex;
|
||||
cm->model.name = cm->name;
|
||||
cm->model.defaultTex = &customDefaultTex;
|
||||
cm->model.maxVertices = cm->numParts * MODEL_BOX_VERTICES;
|
||||
|
||||
cm->model.MakeParts = Model_NoParts;
|
||||
cm->model.Draw = CustomModel_Draw;
|
||||
|
|
Loading…
Reference in a new issue