ANDROID: Aspect ratio correction
This commit is contained in:
parent
2f55195a8b
commit
fa85b48dc8
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue