summaryrefslogtreecommitdiffstats
path: root/libs/rs/java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2009-08-20 17:08:33 -0700
committerRomain Guy <romainguy@android.com>2009-08-20 17:08:33 -0700
commitd22fff7185979537877213c826879c0100a20b11 (patch)
tree0c2b1dbccc215f45b4ce290a7fa0a7f7f3cb83fb /libs/rs/java
parent1c1629da30bd1b125c59ab9bbcecff3bb3e74324 (diff)
downloadframeworks_base-d22fff7185979537877213c826879c0100a20b11.zip
frameworks_base-d22fff7185979537877213c826879c0100a20b11.tar.gz
frameworks_base-d22fff7185979537877213c826879c0100a20b11.tar.bz2
Cleanup the Galaxy, add a few RS functions for Grass.
Diffstat (limited to 'libs/rs/java')
-rw-r--r--libs/rs/java/Galaxy/src/com/android/galaxy/rs/GalaxyRS.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/rs/java/Galaxy/src/com/android/galaxy/rs/GalaxyRS.java b/libs/rs/java/Galaxy/src/com/android/galaxy/rs/GalaxyRS.java
index c6f5816..fae92f7 100644
--- a/libs/rs/java/Galaxy/src/com/android/galaxy/rs/GalaxyRS.java
+++ b/libs/rs/java/Galaxy/src/com/android/galaxy/rs/GalaxyRS.java
@@ -115,7 +115,7 @@ class GalaxyRS {
loadTextures();
ScriptC.Builder sb = new ScriptC.Builder(mRS);
- sb.setType(mStateType, "State", 0);
+ sb.setType(mStateType, "State", RSID_STATE);
sb.setScript(mResources, R.raw.galaxy);
sb.setRoot(true);