Skip to content

Commit 27812a8

Browse files
Jason SamsAndroid Git Automerger
authored andcommitted
am 28e4f87: Fix bug where CPU could be stuck spinning Required the wallpaper be animating and the system to have run slowly during the last frame when rendering stopped.
* commit '28e4f87f38cae799b494e160467d732e988bad89': Fix bug where CPU could be stuck spinning Required the wallpaper be animating and the system to have run slowly during the last frame when rendering stopped.
2 parents 11bfc0c + 28e4f87 commit 27812a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libs/rs/rsContext.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,8 @@ void * Context::threadProc(void *vrsc) {
279279
rsc->timerSet(RS_TIMER_INTERNAL);
280280
rsc->timerPrint();
281281
rsc->timerReset();
282+
} else {
283+
doWait = true;
282284
}
283285
}
284286

0 commit comments

Comments
 (0)