diff options
| author | Reece Mackie <[email protected]> | 2019-04-27 20:51:04 +0100 |
|---|---|---|
| committer | Reece Mackie <[email protected]> | 2019-04-27 20:51:04 +0100 |
| commit | 9434dc588ab295ee909b119a86adbbdae889d6b2 (patch) | |
| tree | 782799f481a71ad0edb03b14148644d6bf4398ac /src/rlgl.h | |
| parent | b911cefab3f39506e22d517088cc9869f363e897 (diff) | |
| parent | 2de1f318212dbceb71db6be053be995208748f2a (diff) | |
| download | raylib-9434dc588ab295ee909b119a86adbbdae889d6b2.tar.gz raylib-9434dc588ab295ee909b119a86adbbdae889d6b2.zip | |
Merge branch 'master' into gamepad-rework
Diffstat (limited to 'src/rlgl.h')
| -rw-r--r-- | src/rlgl.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -999,17 +999,17 @@ void rlMultMatrixf(float *matf) } // Multiply the current matrix by a perspective matrix generated by parameters -void rlFrustum(double left, double right, double bottom, double top, double near, double far) +void rlFrustum(double left, double right, double bottom, double top, double znear, double zfar) { - Matrix matPerps = MatrixFrustum(left, right, bottom, top, near, far); + Matrix matPerps = MatrixFrustum(left, right, bottom, top, znear, zfar); *currentMatrix = MatrixMultiply(*currentMatrix, matPerps); } // Multiply the current matrix by an orthographic matrix generated by parameters -void rlOrtho(double left, double right, double bottom, double top, double near, double far) +void rlOrtho(double left, double right, double bottom, double top, double znear, double zfar) { - Matrix matOrtho = MatrixOrtho(left, right, bottom, top, near, far); + Matrix matOrtho = MatrixOrtho(left, right, bottom, top, znear, zfar); *currentMatrix = MatrixMultiply(*currentMatrix, matOrtho); } @@ -1619,7 +1619,7 @@ void rlglInit(int width, int height) if (strcmp(extList[i], (const char *)"GL_EXT_debug_marker") == 0) debugMarkerSupported = true; } -#if defined(_WIN32) && defined(_MSC_VER) +#if defined(_WIN32) && defined(_MSC_VER) && !defined(PLATFORM_UWP) //is this a hotfix? I may need to find out why this is broken RL_FREE(extList); #endif |
