commit | e79c815bca39fa552983b7a8107219aa5084acdb | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Mar 29 19:07:12 2012 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Mar 29 19:07:12 2012 +0000 |
tree | 054704bb435a6ae4b094089b61eda663dd803ed6 | |
parent | 257fc5bd135cfc2b9a96e8f51388b8bec717cf0a [diff] [blame] |
Don't look at current vertex layout when vertex source hasn't been set Review URL: http://codereview.appspot.com/5959047 git-svn-id: http://skia.googlecode.com/svn/trunk@3545 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp index ab16218..6863630 100644 --- a/src/gpu/GrGpu.cpp +++ b/src/gpu/GrGpu.cpp
@@ -911,7 +911,7 @@ #if GR_DEBUG bool success = #endif - fVertexPool->appendVertices(this->getGeomSrc().fVertexLayout, + fVertexPool->appendVertices(this->getVertexLayout(), vertexCount, vertexArray, &geomPoolState.fPoolVertexBuffer,