Disable assert blocking DEPS roll. This is a sanity-checking assert not
authortomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 25 Jun 2012 20:18:47 +0000 (20:18 +0000)
committertomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 25 Jun 2012 20:18:47 +0000 (20:18 +0000)
necessary to correct operation (yet). Will pursue a fix & reenable.

http://codereview.appspot.com/6330056/

git-svn-id: http://skia.googlecode.com/svn/trunk@4332 2bbb7eff-a529-9590-31e7-b0007b416f81

src/gpu/GrContext.cpp

index 40921ea4fcdac6d8309b04221d8dc45fc283a21b..a7d9b670266db232f485cdca3f078d631c1fba2c 100644 (file)
@@ -1586,7 +1586,8 @@ void GrContext::internalWriteRenderTargetPixels(GrRenderTarget* target,
 ////////////////////////////////////////////////////////////////////////////////
 
 void GrContext::setPaint(const GrPaint& paint) {
-    GrAssert(fDrawState->stagesDisabled());
+    // TODO: reenable this once we've cleaned up text state management
+    //GrAssert(fDrawState->stagesDisabled());
 
     for (int i = 0; i < GrPaint::kMaxTextures; ++i) {
         int s = i + GrPaint::kFirstTextureStage;