mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 07:11:49 +00:00
OPENGL: Fix aspect ratio bug when switching render
This commit is contained in:
parent
88f265bd9a
commit
8af0b8baa5
@ -1221,7 +1221,7 @@ bool OpenGLGraphicsManager::getGLPixelFormat(const Graphics::PixelFormat &pixelF
|
||||
}
|
||||
|
||||
bool OpenGLGraphicsManager::gameNeedsAspectRatioCorrection() const {
|
||||
if (_currentState.aspectRatioCorrection) {
|
||||
if (ConfMan.getBool("aspect_ratio")) {
|
||||
const uint width = getWidth();
|
||||
const uint height = getHeight();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user