| commit | 837ec432ccb5331cd6f96132c62b13ff3cfe9755 | [log] [tgz] |
|---|---|---|
| author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Oct 04 17:57:05 2012 +0000 |
| committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Oct 04 17:57:05 2012 +0000 |
| tree | 3164c3a2d6a55839d71afc328a5239a333fe78c6 | |
| parent | 7823d9a07fb08f21994031254f5b0342a721f460 [diff] [blame] |
Fixed bug(s) in batching of rects https://codereview.appspot.com/6608043/ git-svn-id: http://skia.googlecode.com/svn/trunk@5811 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp index e043926..c69675f 100644 --- a/src/gpu/GrInOrderDrawBuffer.cpp +++ b/src/gpu/GrInOrderDrawBuffer.cpp
@@ -190,7 +190,7 @@ GeometryPoolState& poolState = fGeoPoolStateStack.back(); appendToPreviousDraw = - kDraw_Cmd != fCmds.back() && + kDraw_Cmd == fCmds.back() && lastDraw.fVertexBuffer == poolState.fPoolVertexBuffer && (fCurrQuad * 4 + lastDraw.fStartVertex) == poolState.fPoolStartVertex;