Fixed the window rescaling to do letter/pillar boxing per the email thread.

This commit is contained in:
wrenczes@gmail.com
2011-04-13 04:55:17 +00:00
parent 30a7e7f811
commit 0b821c9b4f
2 changed files with 24 additions and 5 deletions
+1 -1
View File
@@ -822,7 +822,7 @@ void JRenderer::BeginScene()
#ifdef WIN32
float scaleH = mActualHeight/SCREEN_HEIGHT_F;
float scaleW = mActualWidth/SCREEN_WIDTH_F;
glScalef(scaleW,scaleW,1.f);
glScalef(scaleW,scaleH,1.f);
#endif
checkGlError();
}