diff options
| author | Tim Murray <timmurray@google.com> | 2013-07-23 16:20:42 -0700 |
|---|---|---|
| committer | Tim Murray <timmurray@google.com> | 2013-07-23 16:48:41 -0700 |
| commit | 729b6fe58aff47c4f666b22bbb7a6d6114ddefa9 (patch) | |
| tree | c808036ac490043f23adf4f69456c01974494708 /cpp/RenderScript.cpp | |
| parent | 4a92d1268983edaf329f73c8a5b8860cdbb11596 (diff) | |
Add Sampler support to C++ API.
Change-Id: I9a6ada9cf16b5e9f92bcecc12e87d66585df1d33
Diffstat (limited to 'cpp/RenderScript.cpp')
| -rw-r--r-- | cpp/RenderScript.cpp | 1 |
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() { |
