Fix for DEPS roll failure (a patch to r9898)

git-svn-id: http://skia.googlecode.com/svn/trunk@9901 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2013-07-04 11:48:52 +00:00
parent 1842adf013
commit e7db8d6c02

View File

@ -1131,6 +1131,10 @@ void GrContext::internalDrawPath(GrDrawTarget* target, bool useAA, const SkPath&
////////////////////////////////////////////////////////////////////////////////
void GrContext::flush(int flagsBitfield) {
if (NULL == fDrawBuffer) {
return;
}
if (kDiscard_FlushBit & flagsBitfield) {
fDrawBuffer->reset();
} else {