Skip to content

Commit

Permalink
Temporary fix issue hrydgard#3167 in non-multithread mode #1
Browse files Browse the repository at this point in the history
  • Loading branch information
raven02 committed Aug 14, 2013
1 parent 169cc63 commit 9e40468
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions GPU/GLES/DisplayListInterpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,12 @@ void GLES_GPU::SetDisplayFramebuffer(u32 framebuf, u32 stride, GEBufferFormat fo

bool GLES_GPU::FramebufferDirty() {
// FIXME: Workaround for displaylists sometimes hanging unprocessed. Not yet sure of the cause.
ScheduleEvent(GPU_EVENT_PROCESS_QUEUE);
// Allow it to process fully before deciding if it's dirty.
SyncThread();
if (g_Config.bSeparateCPUThread) {
// FIXME: Workaround for displaylists sometimes hanging unprocessed. Not yet sure of the cause.
ScheduleEvent(GPU_EVENT_PROCESS_QUEUE);
// Allow it to process fully before deciding if it's dirty.
SyncThread();
}

VirtualFramebuffer *vfb = framebufferManager_.GetDisplayFBO();
if (vfb)
Expand Down

0 comments on commit 9e40468

Please sign in to comment.