Index: src/gpu/gl/GrGLGpu.cpp |
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp |
index aa9a3e664cd2254bee4044c323da4e8347fa65b1..f489d03334d8f448f8d44246db688ff67cd37576 100644 |
--- a/src/gpu/gl/GrGLGpu.cpp |
+++ b/src/gpu/gl/GrGLGpu.cpp |
@@ -1369,7 +1369,7 @@ bool GrGLGpu::flushGLState(const DrawArgs& args) { |
this->flushStencil(optState.getStencil()); |
this->flushScissor(optState.getScissorState(), glRT->getViewport(), glRT->origin()); |
this->flushHWAAState(glRT, optState.isHWAntialiasState(), |
- kDrawLines_DrawType == optState.drawType()); |
+ kDrawLines_DrawType == args.fDrawType); |
// This must come after textures are flushed because a texture may need |
// to be msaa-resolved (which will modify bound FBO state). |