diff options
| author | Jeffery Myers <[email protected]> | 2021-01-07 14:13:44 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-07 23:13:44 +0100 |
| commit | b76dc06297289245b477a2d98e44271149524cdd (patch) | |
| tree | a7d1154779f9a02cb77688b2c8f1f43897783982 | |
| parent | 33ed14230608667c18b7d28d2f03722354e1c1a2 (diff) | |
| download | raylib-b76dc06297289245b477a2d98e44271149524cdd.tar.gz raylib-b76dc06297289245b477a2d98e44271149524cdd.zip | |
It's top-bottom not bottom-top in GL space. (#1517)
| -rw-r--r-- | src/rlgl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1100,7 +1100,7 @@ void rlFrustum(double left, double right, double bottom, double top, double znea // Multiply the current matrix by an orthographic matrix generated by parameters void rlOrtho(double left, double right, double bottom, double top, double znear, double zfar) { - if (((right - left) > 0) && ((bottom - top) > 0)) + if (((right - left) > 0) && ((top - bottom) > 0)) { Matrix matOrtho = MatrixOrtho(left, right, bottom, top, znear, zfar); *RLGL.State.currentMatrix = MatrixMultiply(*RLGL.State.currentMatrix, matOrtho); |
