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..ecfd81381e58fcf0e4efa25db583a380155f28eb 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->getStencil(), type); |
this->flushScissor(glRT->getViewport(), glRT->origin()); |
this->flushAAState(*optState.get(), type); |