mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +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) {
|
if (renderCallback != nullptr) {
|
||||||
gfxContext.resetShaderProgram();
|
gfxContext.resetShaderProgram();
|
||||||
if (config.frameBufferEmulation.N64DepthCompare == 0) {
|
if (config.frameBufferEmulation.N64DepthCompare == 0) {
|
||||||
glViewport(0, getHeightOffset(), getScreenWidth(), getScreenHeight());
|
gfxContext.setViewport(0, getHeightOffset(), getScreenWidth(), getScreenHeight());
|
||||||
gSP.changed |= CHANGED_VIEWPORT;
|
gSP.changed |= CHANGED_VIEWPORT;
|
||||||
}
|
}
|
||||||
gDP.changed |= CHANGED_COMBINE;
|
gDP.changed |= CHANGED_COMBINE;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user