]> git.lizzy.rs Git - shadowclad.git/blobdiff - ui.c
Move assets into assets/ directory
[shadowclad.git] / ui.c
diff --git a/ui.c b/ui.c
index 410a2a085efa21f0ed31175debd175efe5cda2d8..71effdbcb53e5c4f6f1fbacf7bd6d07f561ff438 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, 24.0, -16.0/aspectRatio, 16.0/aspectRatio, -128.0, 128.0);
        
        glRotatef(45.0f, 1.0f, 0.0f, 0.0f);
        glRotatef(45.0f, 0.0f, 1.0f, 0.0f);