summaryrefslogtreecommitdiff
path: root/cpp/RenderScript.cpp
diff options
context:
space:
mode:
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() {