From 46579e03a25d91317272216f1b0608dd440cd183 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Wed, 11 Jan 2012 18:51:15 +0000 Subject: [PATCH] Fix variable renaming in asserts related to r3015 git-svn-id: http://skia.googlecode.com/svn/trunk@3016 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/GrContext.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 151575d..1767f06 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; -- 2.7.4