summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-11-10 13:33:42 +0100
committerRay <[email protected]>2023-11-10 13:33:42 +0100
commit30dcbaff2025bfa76342b4cfb702c2bb813fb106 (patch)
treec98120e8a38a0b7497160f8adf8167fceb622b3f /src
parent737cd0be7fb009bf837a00847128b00051c5f096 (diff)
downloadraylib-30dcbaff2025bfa76342b4cfb702c2bb813fb106.tar.gz
raylib-30dcbaff2025bfa76342b4cfb702c2bb813fb106.zip
Update rlgl.h
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 76704dfc..8e5db100 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -59,7 +59,7 @@
* #define RL_CULL_DISTANCE_NEAR 0.01 // Default projection matrix near cull distance
* #define RL_CULL_DISTANCE_FAR 1000.0 // Default projection matrix far cull distance
*
-* When loading a shader, the following vertex attribute and uniform
+* When loading a shader, the following vertex attributes and uniform
* location names are tried to be set automatically:
*
* #define RL_DEFAULT_SHADER_ATTRIB_NAME_POSITION "vertexPosition" // Bound by default to shader location: 0
@@ -67,6 +67,7 @@
* #define RL_DEFAULT_SHADER_ATTRIB_NAME_NORMAL "vertexNormal" // Bound by default to shader location: 2
* #define RL_DEFAULT_SHADER_ATTRIB_NAME_COLOR "vertexColor" // Bound by default to shader location: 3
* #define RL_DEFAULT_SHADER_ATTRIB_NAME_TANGENT "vertexTangent" // Bound by default to shader location: 4
+* #define RL_DEFAULT_SHADER_ATTRIB_NAME_TEXCOORD2 "vertexTexCoord2" // Bound by default to shader location: 5
* #define RL_DEFAULT_SHADER_UNIFORM_NAME_MVP "mvp" // model-view-projection matrix
* #define RL_DEFAULT_SHADER_UNIFORM_NAME_VIEW "matView" // view matrix
* #define RL_DEFAULT_SHADER_UNIFORM_NAME_PROJECTION "matProjection" // projection matrix