am 4f1d7656: Merge change I741a6100 into eclair

Merge commit '4f1d765699b1be320d49530313b750a4d153a0bb' into eclair-mr2

* commit '4f1d765699b1be320d49530313b750a4d153a0bb':
  Fix bug where dirty messages for allocations attached to programVertex objects could be lost.
This commit is contained in:
Jason Sams
2009-10-15 19:07:06 -07:00
committed by Android Git Automerger
2 changed files with 5 additions and 0 deletions

View File

@@ -438,6 +438,7 @@ void Context::setVertex(ProgramVertex *pv)
} else {
mVertex.set(pv);
}
mVertex->forceDirty();
}
void Context::assignName(ObjectBase *obj, const char *name, uint32_t len)

View File

@@ -44,6 +44,10 @@ protected:
ObjectBaseRef<Allocation> mConstants;
mutable bool mDirty;
public:
void forceDirty() {mDirty = true;}
};