diff options
| author | Jason Sams <rjsams@android.com> | 2009-10-15 18:45:45 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2009-10-15 18:45:45 -0700 |
| commit | 741a6100a0de3cbbbb44c4e6ecc8be770e684a1e (patch) | |
| tree | 128171563c94ed0925c0ade0936cacdc77317781 /libs/rs/rsProgram.h | |
| parent | 41c19db90e250e2b7cb438904f0e96a0ef455d6d (diff) | |
| download | frameworks_base-741a6100a0de3cbbbb44c4e6ecc8be770e684a1e.zip frameworks_base-741a6100a0de3cbbbb44c4e6ecc8be770e684a1e.tar.gz frameworks_base-741a6100a0de3cbbbb44c4e6ecc8be770e684a1e.tar.bz2 | |
Fix bug where dirty messages for allocations attached to programVertex objects could be lost.
Diffstat (limited to 'libs/rs/rsProgram.h')
| -rw-r--r-- | libs/rs/rsProgram.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/rs/rsProgram.h b/libs/rs/rsProgram.h index 26b78dd..57c654f 100644 --- a/libs/rs/rsProgram.h +++ b/libs/rs/rsProgram.h @@ -44,6 +44,10 @@ protected: ObjectBaseRef<Allocation> mConstants; mutable bool mDirty; + + +public: + void forceDirty() {mDirty = true;} }; |
