commit | 676e66096c60615bac52f365111596de5c4ca8a6 | [log] [tgz] |
---|---|---|
author | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jul 10 17:21:48 2012 +0000 |
committer | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jul 10 17:21:48 2012 +0000 |
tree | 130012f821114e0561d17c327156d714ad83474e | |
parent | 313f019287e324a14b58f081b16cf4afb18f0bd7 [diff] [blame] |
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
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp index c37affa..dcd32dd 100644 --- a/src/gpu/GrClipMaskManager.cpp +++ b/src/gpu/GrClipMaskManager.cpp
@@ -446,7 +446,7 @@ 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