From: outfrost Date: Tue, 29 Jan 2019 18:37:10 +0000 (+0100) Subject: Goddamn clipping planes rendering my crap backwards X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=2e715d010432f8a16f6442f5e3a6216510600ca1;p=shadowclad.git Goddamn clipping planes rendering my crap backwards --- 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);