Put this code back because it got removed again. Make sure you have the latest commit before doing anything :/
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m26s

This commit is contained in:
2024-08-05 19:49:30 -04:00
parent 166db43f2e
commit 4de44ba1e2
2 changed files with 3 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ namespace JGL {
glMatrixMode(GL_PROJECTION);
glPushMatrix();
glLoadIdentity();
glViewport(0, 0, wS.x, wS.y);
glOrtho(0, wS.x, wS.y, 0, -1, 1);
glMatrixMode(GL_MODELVIEW);
glPushMatrix();