aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrClipMaskManager.cpp
diff options
context:
space:
mode:
authorGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-10 17:21:48 +0000
committerGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-10 17:21:48 +0000
commit676e66096c60615bac52f365111596de5c4ca8a6 (patch)
tree130012f821114e0561d17c327156d714ad83474e /src/gpu/GrClipMaskManager.cpp
parent313f019287e324a14b58f081b16cf4afb18f0bd7 (diff)
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
Diffstat (limited to 'src/gpu/GrClipMaskManager.cpp')
-rw-r--r--src/gpu/GrClipMaskManager.cpp2
1 files changed, 1 insertions, 1 deletions
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