mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-16 19:15:14 -04:00
Consoles: Fix custom models never working and crashing Vita port
This commit is contained in:
parent
9f7a7bcfb5
commit
3e8fc0ddcf
@ -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…
x
Reference in New Issue
Block a user