From 6e9ba026da09a633ca7bb047925f2b47f708ba45 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Tue, 3 Apr 2007 21:04:57 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@910 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/src/main.cpp b/source/src/main.cpp index 52748bcd..23b3ea15 100644 --- a/source/src/main.cpp +++ b/source/src/main.cpp @@ -101,6 +101,7 @@ void screenres(int w, int h, int bpp = 0) if(!surf) return; scr_w = w; scr_h = h; + VIRTW = scr_w*VIRTH/scr_h; screen = surf; glViewport(0, 0, w, h); #endif