1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Fix TexrectDrawer work with AA enabled.

This commit is contained in:
Sergey Lipskiy 2015-12-10 20:55:08 +06:00
parent cfdecc71b9
commit baa8b28056

View File

@ -903,6 +903,8 @@ void gDPFullSync()
frameBufferList().removeAux(); frameBufferList().removeAux();
} }
video().getRender().flush();
const bool sync = config.frameBufferEmulation.copyToRDRAM == Config::ctSync; const bool sync = config.frameBufferEmulation.copyToRDRAM == Config::ctSync;
if (config.frameBufferEmulation.copyToRDRAM != Config::ctDisable && if (config.frameBufferEmulation.copyToRDRAM != Config::ctDisable &&
!FBInfo::fbInfo.isSupported() && !FBInfo::fbInfo.isSupported() &&
@ -915,7 +917,6 @@ void gDPFullSync()
if (config.frameBufferEmulation.copyDepthToRDRAM != Config::ctDisable && !FBInfo::fbInfo.isSupported()) if (config.frameBufferEmulation.copyDepthToRDRAM != Config::ctDisable && !FBInfo::fbInfo.isSupported())
FrameBuffer_CopyDepthBuffer(gDP.colorImage.address); FrameBuffer_CopyDepthBuffer(gDP.colorImage.address);
} }
video().getRender().flush();
*REG.MI_INTR |= MI_INTR_DP; *REG.MI_INTR |= MI_INTR_DP;