summaryrefslogtreecommitdiff
path: root/rsProgram.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-10-15 18:45:45 -0700
committerJason Sams <rjsams@android.com>2009-10-15 18:45:45 -0700
commitc2f94902d454ac724c4d7b5246373ca0ff2c99d1 (patch)
treeefd60abdc34d561cb22d970c3a651fee2ff9601d /rsProgram.h
parentfb03a22ad2adadc1ff50a8b50d43ad7fcc3fa6ed (diff)
downloadrs-c2f94902d454ac724c4d7b5246373ca0ff2c99d1.tar.gz
Fix bug where dirty messages for allocations attached to programVertex objects could be lost.
Diffstat (limited to 'rsProgram.h')
-rw-r--r--rsProgram.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rsProgram.h b/rsProgram.h
index 26b78ddd..57c654f2 100644
--- a/rsProgram.h
+++ b/rsProgram.h
@@ -44,6 +44,10 @@ protected:
ObjectBaseRef<Allocation> mConstants;
mutable bool mDirty;
+
+
+public:
+ void forceDirty() {mDirty = true;}
};