Index: src/gpu/gl/GrGpuGL_program.cpp |
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp |
index 6a09ebf64e1564d03e0d54cd7cfed199630610d4..bae3edaee240c7bbcea0c6f16c0f56a39f44d9c9 100644 |
--- a/src/gpu/gl/GrGpuGL_program.cpp |
+++ b/src/gpu/gl/GrGpuGL_program.cpp |
@@ -258,7 +258,7 @@ bool GrGpuGL::flushGraphicsState(DrawType type, const GrDeviceCoordTexture* dstC |
} |
GrGLRenderTarget* glRT = static_cast<GrGLRenderTarget*>(optState->getRenderTarget()); |
- this->flushStencil(type); |
+ this->flushStencil(*optState.get(), type); |
this->flushScissor(glRT->getViewport(), glRT->origin()); |
this->flushAAState(*optState.get(), type); |