mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Fix OGLVideo::_setBufferSize():
make widescreen hack working when fb emulation disabled.
This commit is contained in:
parent
03c87712cd
commit
ba434bab04
|
@ -269,6 +269,11 @@ void OGLVideo::_setBufferSize()
|
|||
} else {
|
||||
m_width = m_screenWidth;
|
||||
m_height = m_screenHeight;
|
||||
if (config.frameBufferEmulation.aspect == Config::aAdjust && (m_screenWidth * 3 / 4 > m_screenHeight)) {
|
||||
f32 width43 = m_screenHeight * 4.0f / 3.0f;
|
||||
m_adjustScale = width43 / m_screenWidth;
|
||||
m_bAdjustScreen = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user