summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.c
diff options
context:
space:
mode:
authorRay San <[email protected]>2018-05-04 16:54:05 +0200
committerRay San <[email protected]>2018-05-04 16:54:05 +0200
commit6045062a05a0cc5bd654ad2c2e7d88f94579cd73 (patch)
tree33501ec5ce20096821c54329f97189c39d83d79d /src/rlgl.c
parent6324697ffd7fd410274599457dd9f85119510898 (diff)
downloadraylib-6045062a05a0cc5bd654ad2c2e7d88f94579cd73.tar.gz
raylib-6045062a05a0cc5bd654ad2c2e7d88f94579cd73.zip
Renamed some functions
- Renamed Begin3dMode() --> BeginMode3D() - Renamed Begin2dMode() --> BeginMode2D() - Renamed End3dMode() --> EndMode3D() - Renamed End2dMode() --> EndMode2D()
Diffstat (limited to 'src/rlgl.c')
-rw-r--r--src/rlgl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlgl.c b/src/rlgl.c
index 68bd3670..93a0b0f8 100644
--- a/src/rlgl.c
+++ b/src/rlgl.c
@@ -1947,7 +1947,7 @@ void rlDrawMesh(Mesh mesh, Material material, Matrix transform)
if (material.shader.locs[LOC_MATRIX_PROJECTION] != -1) SetShaderValueMatrix(material.shader, material.shader.locs[LOC_MATRIX_PROJECTION], projection);
// At this point the modelview matrix just contains the view matrix (camera)
- // That's because Begin3dMode() sets it an no model-drawing function modifies it, all use rlPushMatrix() and rlPopMatrix()
+ // That's because BeginMode3D() sets it an no model-drawing function modifies it, all use rlPushMatrix() and rlPopMatrix()
Matrix matView = modelview; // View matrix (camera)
Matrix matProjection = projection; // Projection matrix (perspective)