summaryrefslogtreecommitdiffstats
path: root/tests/RenderScriptTests
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2011-07-25 15:11:24 -0700
committerJason Sams <rjsams@android.com>2011-07-25 15:11:24 -0700
commit98c50c529336a99a4a980950bc657ca5c58a6ceb (patch)
treef82ab879b3f50630fcdc942b73aeb59d94d39e17 /tests/RenderScriptTests
parent19f773bc96c141227fab3af68d9fcdf9a3c087cb (diff)
downloadframeworks_base-98c50c529336a99a4a980950bc657ca5c58a6ceb.zip
frameworks_base-98c50c529336a99a4a980950bc657ca5c58a6ceb.tar.gz
frameworks_base-98c50c529336a99a4a980950bc657ca5c58a6ceb.tar.bz2
Cleanup sample code.
Change-Id: Iac664f6a97e8a68f5227011ce0960d25e7d901b4
Diffstat (limited to 'tests/RenderScriptTests')
-rw-r--r--tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/scenegraph.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/scenegraph.rs b/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/scenegraph.rs
index 0e619ea..5c5b1c9 100644
--- a/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/scenegraph.rs
+++ b/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/scenegraph.rs
@@ -60,7 +60,7 @@ int root(void) {
robot2Ptr->transforms[1].w += 2.5f;
robot2Ptr->isDirty = 1;
- rsForEach(gTransformRS, gRootNode->children, gRootNode->children, NULL, 0);
+ rsForEach(gTransformRS, gRootNode->children, gRootNode->children);
rsgClearColor(1.0f, 1.0f, 1.0f, 1.0f);
rsgClearDepth(1.0f);