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:
parent
27cc8099e7
commit
9e7826bd1a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user