1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Fix viewport set in DisplayWindowMupen64plus::_swapBuffers()

Fixed Native resolution factor seems broken #1404
This commit is contained in:
Sergey Lipskiy 2017-03-09 13:11:59 +07:00
parent 27cc8099e7
commit 9e7826bd1a

View File

@ -110,7 +110,7 @@ void DisplayWindowMupen64plus::_swapBuffers()
if (renderCallback != nullptr) {
gfxContext.resetShaderProgram();
if (config.frameBufferEmulation.N64DepthCompare == 0) {
glViewport(0, getHeightOffset(), getScreenWidth(), getScreenHeight());
gfxContext.setViewport(0, getHeightOffset(), getScreenWidth(), getScreenHeight());
gSP.changed |= CHANGED_VIEWPORT;
}
gDP.changed |= CHANGED_COMBINE;