Merge pull request #3390 from stenzek/ogl-fb

OGL: Fix for black framebuffer when resolution/msaa mode changes
This commit is contained in:
Markus Wick 2015-12-23 14:35:31 +01:00
commit 82e97ef75d
1 changed files with 1 additions and 0 deletions

View File

@ -1511,6 +1511,7 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, co
OSD::AddMessage(StringFromFormat("%d Anti Aliasing samples selected, but only %d supported by your GPU.", s_last_multisamples, g_ogl_config.max_samples), 10000);
}
g_framebuffer_manager.reset();
g_framebuffer_manager = std::make_unique<FramebufferManager>(s_target_width, s_target_height, s_MSAASamples);
PixelShaderManager::SetEfbScaleChanged();