summaryrefslogtreecommitdiffstats
path: root/libs/rs
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-11-25 15:12:01 -0800
committerJason Sams <rjsams@android.com>2009-11-25 15:14:50 -0800
commit7efde12a03b8d56c9344d5586d76336806638f11 (patch)
tree4f4d0abf93f76c65c087382ed523456babce083f /libs/rs
parent703d18b658e6d51a5494dbaef20077af5921189d (diff)
downloadframeworks_base-7efde12a03b8d56c9344d5586d76336806638f11.zip
frameworks_base-7efde12a03b8d56c9344d5586d76336806638f11.tar.gz
frameworks_base-7efde12a03b8d56c9344d5586d76336806638f11.tar.bz2
Fix film
Diffstat (limited to 'libs/rs')
-rw-r--r--libs/rs/java/Film/src/com/android/film/FilmView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/rs/java/Film/src/com/android/film/FilmView.java b/libs/rs/java/Film/src/com/android/film/FilmView.java
index e40784c..4a201fd 100644
--- a/libs/rs/java/Film/src/com/android/film/FilmView.java
+++ b/libs/rs/java/Film/src/com/android/film/FilmView.java
@@ -52,7 +52,7 @@ public class FilmView extends RSSurfaceView {
public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) {
super.surfaceChanged(holder, format, w, h);
if (mRS == null) {
- mRS = createRenderScript(false);
+ mRS = createRenderScript(true);
mRS.contextSetSurface(w, h, holder.getSurface());
mRender = new FilmRS();
mRender.init(mRS, getResources(), w, h);