summaryrefslogtreecommitdiff
path: root/cpp/RenderScript.cpp
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2013-07-23 16:20:42 -0700
committerTim Murray <timmurray@google.com>2013-07-23 16:48:41 -0700
commit729b6fe58aff47c4f666b22bbb7a6d6114ddefa9 (patch)
treec808036ac490043f23adf4f69456c01974494708 /cpp/RenderScript.cpp
parent4a92d1268983edaf329f73c8a5b8860cdbb11596 (diff)
Add Sampler support to C++ API.
Change-Id: I9a6ada9cf16b5e9f92bcecc12e87d66585df1d33
Diffstat (limited to 'cpp/RenderScript.cpp')
-rw-r--r--cpp/RenderScript.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/RenderScript.cpp b/cpp/RenderScript.cpp
index 6acfc9e8..e2c8bc09 100644
--- a/cpp/RenderScript.cpp
+++ b/cpp/RenderScript.cpp
@@ -48,6 +48,7 @@ RS::RS() {
mInit = false;
memset(&mElements, 0, sizeof(mElements));
+ memset(&mSamplers, 0, sizeof(mSamplers));
}
RS::~RS() {