Fixed the window rescaling to do letter/pillar boxing per the email thread.
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user