Fix bug where dirty messages for allocations attached to programVertex objects could be lost.
diff --git a/rsContext.cpp b/rsContext.cpp
index 2b3d076..cc39dac 100644
--- a/rsContext.cpp
+++ b/rsContext.cpp
@@ -438,6 +438,7 @@
     } else {
         mVertex.set(pv);
     }
+    mVertex->forceDirty();
 }
 
 void Context::assignName(ObjectBase *obj, const char *name, uint32_t len)
diff --git a/rsProgram.h b/rsProgram.h
index 26b78dd..57c654f 100644
--- a/rsProgram.h
+++ b/rsProgram.h
@@ -44,6 +44,10 @@
     ObjectBaseRef<Allocation> mConstants;
 
     mutable bool mDirty;
+
+
+public:
+    void forceDirty() {mDirty = true;}
 };