Fix variable renaming in asserts related to r3015
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 11 Jan 2012 18:51:15 +0000 (18:51 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 11 Jan 2012 18:51:15 +0000 (18:51 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@3016 2bbb7eff-a529-9590-31e7-b0007b416f81

src/gpu/GrContext.cpp

index 151575d78eb183e3220b2906a02995b0c8912011..1767f06f4c7767efe6e32a06730c570b44a18d9d 100644 (file)
@@ -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;