summaryrefslogtreecommitdiffstats
path: root/libs/rs/java
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-09-25 20:24:54 -0700
committerJason Sams <rjsams@android.com>2009-09-25 20:24:54 -0700
commitf075b4e713c4e10e4cea12c856fcf4aaab9c29d4 (patch)
tree0bcab0d44afd8f891ab7b11170df707854c5bbb4 /libs/rs/java
parenta6c402fb0ec4298413e1d37c53f0524ea3325854 (diff)
downloadframeworks_base-f075b4e713c4e10e4cea12c856fcf4aaab9c29d4.zip
frameworks_base-f075b4e713c4e10e4cea12c856fcf4aaab9c29d4.tar.gz
frameworks_base-f075b4e713c4e10e4cea12c856fcf4aaab9c29d4.tar.bz2
Fix fountain crash.
Diffstat (limited to 'libs/rs/java')
-rw-r--r--libs/rs/java/Fountain/res/raw/fountain.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/rs/java/Fountain/res/raw/fountain.c b/libs/rs/java/Fountain/res/raw/fountain.c
index 57e10cf..86f0f99 100644
--- a/libs/rs/java/Fountain/res/raw/fountain.c
+++ b/libs/rs/java/Fountain/res/raw/fountain.c
@@ -31,10 +31,11 @@ int main(int launchID) {
np->b = b;
np->a = 0xf0;
newPart++;
+ np++;
if (newPart >= count) {
newPart = 0;
+ np = &p[newPart];
}
- np++;
}
}