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:
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user