summaryrefslogtreecommitdiffstats
path: root/libs/rs
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2011-02-11 16:38:46 -0800
committerStephen Hines <srhines@google.com>2011-02-11 16:38:46 -0800
commit7655a7dd1db91d5bb8a181590f4909b811bae8b6 (patch)
tree11e483f41e54c13616b8dc9673306aaae5ad9766 /libs/rs
parent5a1b63572bf52142aa880cccc92636e65600bb60 (diff)
downloadframeworks_base-7655a7dd1db91d5bb8a181590f4909b811bae8b6.zip
frameworks_base-7655a7dd1db91d5bb8a181590f4909b811bae8b6.tar.gz
frameworks_base-7655a7dd1db91d5bb8a181590f4909b811bae8b6.tar.bz2
Fix struct initializer for balls.
Bug: 3092382 Change-Id: Ie4e85177727b32f0a260fae53885c97bee111343
Diffstat (limited to 'libs/rs')
-rw-r--r--libs/rs/java/Balls/src/com/android/balls/balls.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/rs/java/Balls/src/com/android/balls/balls.rs b/libs/rs/java/Balls/src/com/android/balls/balls.rs
index fed9963..7dc7660 100644
--- a/libs/rs/java/Balls/src/com/android/balls/balls.rs
+++ b/libs/rs/java/Balls/src/com/android/balls/balls.rs
@@ -52,7 +52,7 @@ void initParts(int w, int h)
int root() {
rsgClearColor(0.f, 0.f, 0.f, 1.f);
- BallControl_t bc = {0};
+ BallControl_t bc;
Ball_t *bout;
if (frame & 1) {