commit | 5585e36a413dcc70a4bdd04063ea31db2519ea8d | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Fri Oct 29 10:19:21 2010 -0700 |
committer | Jason Sams <rjsams@android.com> | Fri Oct 29 10:28:13 2010 -0700 |
tree | cbb70db5c3dc61bfcd29e705accb48a2cc0cdc0a | |
parent | c75529f59f05e0240816aec2cd684ebdbf95ab73 [diff] [blame] |
Balls test app. Change-Id: I842f43e37145f8112120e2bd49925f81c588c40c
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp index 3f04585..0241455 100644 --- a/libs/rs/rsContext.cpp +++ b/libs/rs/rsContext.cpp
@@ -470,7 +470,7 @@ rsc->timerPrint(); rsc->timerReset(); } - if (rsc->mThreadPriority > 0 && targetTime) { + if (targetTime > 1) { int32_t t = (targetTime - (int32_t)(rsc->mTimeMSLastScript + rsc->mTimeMSLastSwap)) * 1000; if (t > 0) { usleep(t);