| 863 | } |
| 864 | |
| 865 | static void CheckMaxVertices(void) { |
| 866 | /* hack to undo plugins setting a smaller vertices buffer */ |
| 867 | if (Models.MaxVertices < MODELS_MAX_VERTICES) { |
| 868 | Platform_LogConst("CheckMaxVertices found smaller buffer, resetting Models.Vb"); |
| 869 | Models.MaxVertices = MODELS_MAX_VERTICES; |
| 870 | Gfx_DeleteDynamicVb(&Models.Vb); |
| 871 | } |
| 872 | } |
| 873 | |
| 874 | void CustomModel_Register(struct CustomModel* cm) { |
| 875 | static struct ModelTex customDefaultTex; |
no test coverage detected