fix for msaa in opengl
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5850 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
0a47e12b18
commit
0cdfef4056
|
@ -997,6 +997,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
|
|||
{
|
||||
TargetRectangle targetRc = Renderer::ConvertEFBRectangle(Rc);
|
||||
GLuint read_texture = g_framebufferManager.ResolveAndGetRenderTarget(Rc);
|
||||
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); // switch to the window backbuffer
|
||||
glBindTexture(GL_TEXTURE_RECTANGLE_ARB, read_texture);
|
||||
if (applyShader)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue