Index: gm/bleed.cpp |
diff --git a/gm/bleed.cpp b/gm/bleed.cpp |
index 85ae2f49d10584aa37a3f6c417b8052b25f78bb9..434f9a2f7f45e154b2de9450902e01b11a983b01 100644 |
--- a/gm/bleed.cpp |
+++ b/gm/bleed.cpp |
@@ -243,6 +243,9 @@ bool make_oversized_texture_bitmap(GrContext* ctx, TestPixels* result, int width |
return false; |
} |
+ texture->setFromRawPixels(true); |
+ texture->setException(true); |
+ |
GrWrapTextureInBitmap(texture, width, height, true, &result->fBitmap); |
result->fType = TestPixels::kBitmap; |
result->fBitmap.setImmutable(); |