]> git.lizzy.rs Git - shadowclad.git/blobdiff - ui.c
Render the level's grid of blocks
[shadowclad.git] / ui.c
diff --git a/ui.c b/ui.c
index 5010a81e3173655bce8534c3733e96ebc83f2c20..410a2a085efa21f0ed31175debd175efe5cda2d8 100644 (file)
--- 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);