From 676e66096c60615bac52f365111596de5c4ca8a6 Mon Sep 17 00:00:00 2001 From: "tomhudson@google.com" Date: Tue, 10 Jul 2012 17:21:48 +0000 Subject: More carefully disable stages in Ganesh to avoid textures or effects leaking between draw calls. http://codereview.appspot.com/6353083/ git-svn-id: http://skia.googlecode.com/svn/trunk@4510 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/GrClipMaskManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/GrClipMaskManager.cpp') diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp index c37affa939..dcd32ddffd 100644 --- a/src/gpu/GrClipMaskManager.cpp +++ b/src/gpu/GrClipMaskManager.cpp @@ -446,7 +446,7 @@ void GrClipMaskManager::drawTexture(GrTexture* target, fGpu->drawSimpleRect(rect, NULL, 1 << 0); - drawState->setTexture(0, NULL); + drawState->disableStage(0); } // get a texture to act as a temporary buffer for AA clip boolean operations -- cgit v1.2.3