diff options
author | Jason Sams <rjsams@android.com> | 2010-10-29 10:19:21 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2010-10-29 10:28:13 -0700 |
commit | 5585e36a413dcc70a4bdd04063ea31db2519ea8d (patch) | |
tree | cbb70db5c3dc61bfcd29e705accb48a2cc0cdc0a /libs/rs/rsContext.cpp | |
parent | c75529f59f05e0240816aec2cd684ebdbf95ab73 (diff) | |
download | frameworks_base-5585e36a413dcc70a4bdd04063ea31db2519ea8d.zip frameworks_base-5585e36a413dcc70a4bdd04063ea31db2519ea8d.tar.gz frameworks_base-5585e36a413dcc70a4bdd04063ea31db2519ea8d.tar.bz2 |
Balls test app.
Change-Id: I842f43e37145f8112120e2bd49925f81c588c40c
Diffstat (limited to 'libs/rs/rsContext.cpp')
-rw-r--r-- | libs/rs/rsContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ void * Context::threadProc(void *vrsc) 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); |