summaryrefslogtreecommitdiffhomepage
path: root/src/config.h
diff options
context:
space:
mode:
authorRay <[email protected]>2021-02-21 12:09:52 +0100
committerRay <[email protected]>2021-02-21 12:09:52 +0100
commitef8318f5e322aecc8dc4f1f345bada0e2971d731 (patch)
treefb3a25ce769cbf8a6037712f33b0a00bf23dfe59 /src/config.h
parent34f5532fad68aed9c7df5f11ac76ee5e7d55e9e0 (diff)
downloadraylib-ef8318f5e322aecc8dc4f1f345bada0e2971d731.tar.gz
raylib-ef8318f5e322aecc8dc4f1f345bada0e2971d731.zip
[models] Move vboId ALLOC/FREE to rlgl module #1603
Actually, it seems more logical that rlgl takes care of OpenGL data than the models module... Also, models module loaded vertex data is unloaded by models module.
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index f7380422..71908b0c 100644
--- a/src/config.h
+++ b/src/config.h
@@ -92,6 +92,7 @@
#define DEFAULT_BATCH_DRAWCALLS 256 // Default number of batch draw calls (by state changes: mode, texture)
#define MAX_MATRIX_STACK_SIZE 32 // Maximum size of internal Matrix stack
+#define MAX_MESH_VERTEX_BUFFERS 7 // Maximum vertex buffers (VBO) per mesh
#define MAX_SHADER_LOCATIONS 32 // Maximum number of shader locations supported
#define MAX_MATERIAL_MAPS 12 // Maximum number of shader maps supported