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:
parent
1842adf013
commit
e7db8d6c02
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user