summaryrefslogtreecommitdiffhomepage
path: root/src/models.c
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2021-07-31 19:46:44 +0200
committerraysan5 <[email protected]>2021-07-31 19:46:44 +0200
commit5b6d83b53331190db632d68de7d5beb6539ebf3a (patch)
tree989599d045168b9a99c38cfa4647a434fe35ec08 /src/models.c
parent3e75a2109dcc48154fc2e47243a2e365c727ffc6 (diff)
downloadraylib-5b6d83b53331190db632d68de7d5beb6539ebf3a.tar.gz
raylib-5b6d83b53331190db632d68de7d5beb6539ebf3a.zip
REVIEWED: rlgl defines for consistency
Diffstat (limited to 'src/models.c')
-rw-r--r--src/models.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/models.c b/src/models.c
index 870c5e8c..bce9c8d8 100644
--- a/src/models.c
+++ b/src/models.c
@@ -92,7 +92,12 @@
//----------------------------------------------------------------------------------
// Defines and Macros
//----------------------------------------------------------------------------------
-// ...
+#ifndef MAX_MATERIAL_MAPS
+ #define MAX_MATERIAL_MAPS 12 // Maximum number of maps supported
+#endif
+#ifndef MAX_MESH_VERTEX_BUFFERS
+ #define MAX_MESH_VERTEX_BUFFERS 7 // Maximum vertex buffers (VBO) per mesh
+#endif
//----------------------------------------------------------------------------------
// Types and Structures Definition