diff options
author | 2013-07-19 18:13:02 +0000 | |
---|---|---|
committer | 2013-07-19 18:13:02 +0000 | |
commit | d92cf2ebbfbb9d737ea4a551e64ffccb08376875 (patch) | |
tree | 2fc8779ab6ebaedd66e1bdd0b80d0ad05e516fc5 /src/gpu/GrSWMaskHelper.h | |
parent | 05b7bef01d42c727f5b2b065da7acc1ba75f1d3e (diff) |
Fix texture allocation in SWMaskHelper
https://codereview.chromium.org/19789006/
git-svn-id: http://skia.googlecode.com/svn/trunk@10197 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrSWMaskHelper.h')
-rw-r--r-- | src/gpu/GrSWMaskHelper.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/GrSWMaskHelper.h b/src/gpu/GrSWMaskHelper.h index ce5ae28a04..fab5eeb4a0 100644 --- a/src/gpu/GrSWMaskHelper.h +++ b/src/gpu/GrSWMaskHelper.h @@ -63,8 +63,7 @@ public: bool getTexture(GrAutoScratchTexture* texture); // Move the mask generation results from the internal bitmap to the gpu. - // The space outside of the mask is cleared using "alpha" - void toTexture(GrTexture* texture, uint8_t alpha); + void toTexture(GrTexture* texture); // Reset the internal bitmap void clear(uint8_t alpha) { |