summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-05-21 02:29:15 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-05-21 02:29:15 +0200
commit9d5cfe532a277e31afb305b0742942e3f8cbbf2d (patch)
tree279a0bff8be80f9e1e0aa6636d71ed041a6717a7
parent3c6e4a47af54f59425d04b35ab93a2ebf04ba0bf (diff)
Fixed overscan bug.
-rw-r--r--application.cpp4
1 files 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);