Restore some code that should not have been deleted (dupe on windows but not on other platforms)

This commit is contained in:
Henrik Rydgard 2015-09-19 23:42:22 +02:00
parent 2a99fe83e3
commit 669508ed80

View File

@ -1657,6 +1657,13 @@ void FramebufferManager::EndFrame() {
if (resized_) {
DestroyAllFBOs();
glstate.viewport.set(0, 0, pixelWidth_, pixelHeight_);
#ifndef _WIN32 // We do the same thing elsewhere
int zoom = g_Config.iInternalResolution;
if (zoom == 0) // auto mode
zoom = (pixelWidth_ + 479) / 480;
PSP_CoreParameter().renderWidth = 480 * zoom;
PSP_CoreParameter().renderHeight = 272 * zoom;
#endif
resized_ = false;
}