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
This commit is contained in:
Jason Sams
2011-10-26 17:56:00 -07:00
parent 01d24784a5
commit 28e4f87f38

View File

@ -279,6 +279,8 @@ void * Context::threadProc(void *vrsc) {
rsc->timerSet(RS_TIMER_INTERNAL); rsc->timerSet(RS_TIMER_INTERNAL);
rsc->timerPrint(); rsc->timerPrint();
rsc->timerReset(); rsc->timerReset();
} else {
doWait = true;
} }
} }