diff options
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; |