From 2e715d010432f8a16f6442f5e3a6216510600ca1 Mon Sep 17 00:00:00 2001 From: outfrost Date: Tue, 29 Jan 2019 19:37:10 +0100 Subject: [PATCH] Goddamn clipping planes rendering my crap backwards --- ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui.c b/ui.c index 5010a81..410a2a0 100644 --- a/ui.c +++ b/ui.c @@ -13,7 +13,7 @@ void resizeStage(GLsizei width, GLsizei height) { GLfloat aspectRatio = (GLfloat) width / (GLfloat) height; - glOrtho(-8.0, 8.0, -8.0/aspectRatio, 8.0/aspectRatio, 128.0, -128.0); + glOrtho(-8.0, 8.0, -8.0/aspectRatio, 8.0/aspectRatio, -128.0, 128.0); glRotatef(45.0f, 1.0f, 0.0f, 0.0f); glRotatef(45.0f, 0.0f, 1.0f, 0.0f); -- 2.44.0