aboutsummaryrefslogtreecommitdiff
path: root/src/rlgl.h
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-01-13 17:13:28 +0100
committerraysan5 <raysan5@gmail.com>2016-01-13 17:13:28 +0100
commitfb6ef2c2f4fe22552908d339cda541453e43faec (patch)
tree53d86522f6f1a5256e097a2e7bc82ce3e0101526 /src/rlgl.h
parentbb49102a4b5ae7bf6a34b437b133e8c5e3557f8d (diff)
downloadraylib-fb6ef2c2f4fe22552908d339cda541453e43faec.tar.gz
raylib-fb6ef2c2f4fe22552908d339cda541453e43faec.zip
Vertex shaders optimization
Diffstat (limited to 'src/rlgl.h')
-rw-r--r--src/rlgl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 93b56bb2..d33844ce 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -159,8 +159,8 @@ typedef enum { OPENGL_11 = 1, OPENGL_33, OPENGL_ES_20 } GlVersion;
int colorLoc; // Color attibute location point (vertex shader)
// Uniforms
- int projectionLoc; // Projection matrix uniform location point (vertex shader)
- int modelviewLoc; // ModelView matrix uniform location point (vertex shader)
+ int mvpLoc; // ModelView-Projection matrix uniform location point (vertex shader)
+
int modelLoc; // Model transformation matrix uniform location point (vertex shader)
int viewLoc; // View transformation matrix uniform location point (vertex shader)
int tintColorLoc; // Color uniform location point (fragment shader)