summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRay <[email protected]>2022-08-13 22:28:47 +0200
committerRay <[email protected]>2022-08-13 22:28:47 +0200
commit48c7f65b77e4074469461d72e6852e649e539026 (patch)
tree52a1214abeaf14b0e3152b74161f3ce6f4755795
parente0b487c6411811af7e9a9ecc24e53a0367676985 (diff)
downloadraylib-48c7f65b77e4074469461d72e6852e649e539026.tar.gz
raylib-48c7f65b77e4074469461d72e6852e649e539026.zip
minor tweaks
-rw-r--r--src/rmodels.c6
-rw-r--r--src/rtextures.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/rmodels.c b/src/rmodels.c
index 1f6e9605..190af542 100644
--- a/src/rmodels.c
+++ b/src/rmodels.c
@@ -1100,7 +1100,7 @@ void UploadMesh(Mesh *mesh, bool dynamic)
rlSetVertexAttribute(1, 2, RL_FLOAT, 0, 0, 0);
rlEnableVertexAttribute(1);
- // WARNING: When setting default vertex attribute values, the values for each generic vertex attribute
+ // WARNING: When setting default vertex attribute values, the values for each generic vertex attribute
// is part of current state and it is maintained even if a different program object is used
if (mesh->normals != NULL)
@@ -1362,7 +1362,7 @@ void DrawMesh(Mesh mesh, Material material, Matrix transform)
if (mesh.indices != NULL) rlEnableVertexBufferElement(mesh.vboId[6]);
}
- // WARNING: Disable vertex attribute color input if mesh can not provide that data (despite location being enabled in shader)
+ // WARNING: Disable vertex attribute color input if mesh can not provide that data (despite location being enabled in shader)
if (mesh.vboId[3] == 0) rlDisableVertexAttribute(material.shader.locs[SHADER_LOC_VERTEX_COLOR]);
int eyeCount = 1;
@@ -1583,7 +1583,7 @@ void DrawMeshInstanced(Mesh mesh, Material material, const Matrix *transforms, i
if (mesh.indices != NULL) rlEnableVertexBufferElement(mesh.vboId[6]);
}
- // WARNING: Disable vertex attribute color input if mesh can not provide that data (despite location being enabled in shader)
+ // WARNING: Disable vertex attribute color input if mesh can not provide that data (despite location being enabled in shader)
if (mesh.vboId[3] == 0) rlDisableVertexAttribute(material.shader.locs[SHADER_LOC_VERTEX_COLOR]);
int eyeCount = 1;
diff --git a/src/rtextures.c b/src/rtextures.c
index ec1c7a33..2490d1d1 100644
--- a/src/rtextures.c
+++ b/src/rtextures.c
@@ -3643,7 +3643,7 @@ void DrawTexturePoly(Texture2D texture, Vector2 center, Vector2 *points, Vector2
rlSetTexture(texture.id);
- // Texturing is only supported on QUADs
+ // Texturing is only supported on RL_QUADS
rlBegin(RL_QUADS);
rlColor4ub(tint.r, tint.g, tint.b, tint.a);