 Chromium Code Reviews
 Chromium Code Reviews Issue 13468004:
  Make drawRect preserve vertex attrib state and push/pop the geom sources.  (Closed) 
  Base URL: http://skia.googlecode.com/svn/trunk/
    
  
    Issue 13468004:
  Make drawRect preserve vertex attrib state and push/pop the geom sources.  (Closed) 
  Base URL: http://skia.googlecode.com/svn/trunk/| Index: src/gpu/GrContext.cpp | 
| =================================================================== | 
| --- src/gpu/GrContext.cpp (revision 8471) | 
| +++ src/gpu/GrContext.cpp (working copy) | 
| @@ -976,6 +976,7 @@ | 
| if (NULL != indices) { | 
| target->setIndexSourceToArray(indices, indexCount); | 
| target->drawIndexed(primitiveType, 0, 0, vertexCount, indexCount); | 
| + target->resetIndexSource(); | 
| } else { | 
| target->drawNonIndexed(primitiveType, 0, vertexCount); | 
| } |