summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rlgl.c')
-rw-r--r--src/rlgl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rlgl.c b/src/rlgl.c
index cdce92d0..5db6f1cc 100644
--- a/src/rlgl.c
+++ b/src/rlgl.c
@@ -2539,6 +2539,12 @@ void SetMatrixModelview(Matrix view)
#endif
}
+Matrix GetMatrixModelview() {
+#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)
+ return modelview;
+#endif
+}
+
// Generate cubemap texture from HDR texture
// TODO: OpenGL ES 2.0 does not support GL_RGB16F texture format, neither GL_DEPTH_COMPONENT24
Texture2D GenTextureCubemap(Shader shader, Texture2D skyHDR, int size)