fix for hardcoded index values in vboID array (#4312)

changing any of the #defines in CONFIG.H would cause issues when rendering.
This commit is contained in:
Jett 2024-09-11 16:57:19 -04:00 committed by GitHub
parent fd961deba7
commit ed702673ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 31 additions and 30 deletions

View file

@ -119,6 +119,7 @@
#define RL_DEFAULT_SHADER_ATTRIB_LOCATION_COLOR 3
#define RL_DEFAULT_SHADER_ATTRIB_LOCATION_TANGENT 4
#define RL_DEFAULT_SHADER_ATTRIB_LOCATION_TEXCOORD2 5
#define RL_DEFAULT_SHADER_ATTRIB_LOCATION_INDICES 6
// Default shader vertex attribute names to set location points
// NOTE: When a new shader is loaded, the following locations are tried to be set for convenience