From a5c5a9d60baaa97ac89ad7da875ebc872faacdee Mon Sep 17 00:00:00 2001 From: Xawotihs Date: Tue, 21 Dec 2010 16:05:59 +0000 Subject: [PATCH] Fix resize management for the mac version --- JGE/src/Qtmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JGE/src/Qtmain.cpp b/JGE/src/Qtmain.cpp index b88d12e09..df6d19677 100644 --- a/JGE/src/Qtmain.cpp +++ b/JGE/src/Qtmain.cpp @@ -272,7 +272,7 @@ void JGEQtRenderer::initializeGL() void JGEQtRenderer::resizeGL(int width, int height) { - if ((GLfloat)width / (GLfloat)height < ACTUAL_RATIO) + if ((GLfloat)width / (GLfloat)height <= ACTUAL_RATIO) { viewPort.setLeft(0); viewPort.setTop(-((width/ACTUAL_RATIO)-height)/2);