ANDROID: Aspect ratio correction

This commit is contained in:
Dries Harnie 2013-10-01 20:41:22 +02:00
parent 2f55195a8b
commit fa85b48dc8

View file

@ -342,8 +342,6 @@ void OSystem_Android::updateScreenRect() {
uint16 h = _game_texture->height();
if (w && h && !_fullscreen) {
if (_ar_correction && w == 320 && h == 200)
h = 240;
float dpi[2];
JNI::getDPI(dpi);
@ -368,8 +366,6 @@ void OSystem_Android::updateScreenRect() {
}
}
glScissor(rect.left, rect.top, rect.width(), rect.height());
_game_texture->setDrawRect(rect);
}