diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-01-11 18:51:15 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-01-11 18:51:15 +0000 |
commit | 46579e03a25d91317272216f1b0608dd440cd183 (patch) | |
tree | 61d7372c51437f7e33e9de0efb8f03d86c834aae /src/gpu | |
parent | dafde9e2c1f048328a53f426927a142bc7d2adb8 (diff) |
Fix variable renaming in asserts related to r3015
git-svn-id: http://skia.googlecode.com/svn/trunk@3016 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/GrContext.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 151575d78e..1767f06f4c 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -721,8 +721,7 @@ bool GrContext::prepareForOffscreenAA(GrDrawTarget* target, GrAssert(GR_USE_OFFSCREEN_AA); - GrAssert(NULL == record->fOffscreen0.texture()); - GrAssert(NULL == record->fOffscreen1.texture()); + GrAssert(NULL == record->fOffscreen.texture()); GrAssert(!boundRect.isEmpty()); int boundW = boundRect.width(); @@ -833,7 +832,7 @@ void GrContext::doOffscreenAAPass2(GrDrawTarget* target, int tileX, int tileY, OffscreenRecord* record) { SK_TRACE_EVENT0("GrContext::doOffscreenAAPass2"); - GrAssert(NULL != record->fOffscreen0.texture()); + GrAssert(NULL != record->fOffscreen.texture()); GrDrawTarget::AutoGeometryPush agp(target); GrIRect tileRect; tileRect.fLeft = boundRect.fLeft + tileX * record->fTileSizeX; |