From 9d5cfe532a277e31afb305b0742942e3f8cbbf2d Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Fri, 21 May 2010 02:29:15 +0200 Subject: Fixed overscan bug. --- application.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application.cpp b/application.cpp index 15b68de..ebf412d 100644 --- a/application.cpp +++ b/application.cpp @@ -279,8 +279,8 @@ void Application::main_loop(unsigned int tick, unsigned int step) { glOrtho( -float(Config::viewport_overscan) / float(Config::viewport_w), 1.0 + float(Config::viewport_overscan) / float(Config::viewport_w), - -float(Config::viewport_overscan) / float(Config::viewport_h), - Config::viewport_aspect + float(Config::viewport_overscan) / float(Config::viewport_h), + -float(Config::viewport_overscan) / float(Config::viewport_w), + Config::viewport_aspect + float(Config::viewport_overscan) / float(Config::viewport_w), 0, 10); glMatrixMode(GL_MODELVIEW); -- cgit v1.2.3