summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTokyoSU <[email protected]>2024-06-12 19:36:25 +0200
committerGitHub <[email protected]>2024-06-12 19:36:25 +0200
commit735c0160b5cc5fa2a2cdd60843d61afa25551991 (patch)
tree15c082a92a55418d88109ad62367b0cbd8bd946c
parent33c598123c4b6ef78ff2ac3dcc1094da4dd6efef (diff)
downloadraylib-735c0160b5cc5fa2a2cdd60843d61afa25551991.tar.gz
raylib-735c0160b5cc5fa2a2cdd60843d61afa25551991.zip
Update rlgl.h (#4059)
- The function rlGetMatrixProjectionStereo and rlGetMatrixViewOffsetStereo have RLAPI for the function declaration and cause error when compiling using RLGL_IMPLEMENTATION.
-rw-r--r--src/rlgl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 2f6a03b8..530e44ef 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -4518,7 +4518,7 @@ Matrix rlGetMatrixTransform(void)
}
// Get internal projection matrix for stereo render (selected eye)
-RLAPI Matrix rlGetMatrixProjectionStereo(int eye)
+Matrix rlGetMatrixProjectionStereo(int eye)
{
Matrix mat = rlMatrixIdentity();
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)
@@ -4528,7 +4528,7 @@ RLAPI Matrix rlGetMatrixProjectionStereo(int eye)
}
// Get internal view offset matrix for stereo render (selected eye)
-RLAPI Matrix rlGetMatrixViewOffsetStereo(int eye)
+Matrix rlGetMatrixViewOffsetStereo(int eye)
{
Matrix mat = rlMatrixIdentity();
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)