1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-23 15:40:35 +00:00

(3DS) fix tearing, the displayed framebuffer was being set to the

currently selected drawbuffer.
This commit is contained in:
aliaspider 2016-09-28 18:34:38 +01:00
parent 8266a423cd
commit dc16477c46

@ -806,7 +806,6 @@ static bool ctr_frame(void* data, const void* frame,
// Swap buffers :
ctr->current_buffer_top ^= 1;
extern GSPGPU_FramebufferInfo topFramebufferInfo;
extern u8* gfxSharedMemory;
extern u8 gfxThreadID;
@ -835,6 +834,8 @@ static bool ctr_frame(void* data, const void* frame,
framebufferInfo[framebufferInfoHeader[0x0]] = topFramebufferInfo;
framebufferInfoHeader[0x1]=1;
ctr->current_buffer_top ^= 1;
performance_counter_stop(&ctrframe_f);
return true;