commit | 177f8446d58e5b1a4258935371a9450dbe34dca6 | [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 | 68b3ba4d31a46c14644a60065b614a9a9f0e3a70 | |
parent | 475cb18719866363171ba63a24d443c56166c0d2 [diff] [blame] |
Balls test app. Change-Id: I842f43e37145f8112120e2bd49925f81c588c40c
diff --git a/rsContext.cpp b/rsContext.cpp index 3f04585..0241455 100644 --- a/rsContext.cpp +++ b/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);