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/GrTextContext.cpp b/src/gpu/GrTextContext.cpp index 93ef23d..daf48bf 100644 --- a/src/gpu/GrTextContext.cpp +++ b/src/gpu/GrTextContext.cpp
@@ -68,7 +68,7 @@ fMaxVertices = 0; fCurrVertex = 0; GrSafeSetNull(fCurrTexture); - drawState->setTexture(kGlyphMaskStage, NULL); + drawState->disableStage(kGlyphMaskStage); } }