Skip to content

Commit 28e4f87

Browse files
author
Jason Sams
committed
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. bug 5180240 Change-Id: I38c2b6f07a1e36019dd05c77a58973e36d12728c
1 parent 01d2478 commit 28e4f87

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)