Index: tests/EGLImageTest.cpp |
diff --git a/tests/EGLImageTest.cpp b/tests/EGLImageTest.cpp |
index 637055ba72f0e4ae864dc5ee09f58aafa17345bf..fdae3b32d1eb9e5e715c52833bf59a73a0c80888 100644 |
--- a/tests/EGLImageTest.cpp |
+++ b/tests/EGLImageTest.cpp |
@@ -73,8 +73,7 @@ |
copyDesc.fWidth = externalTexture->width(); |
copyDesc.fHeight = externalTexture->height(); |
copyDesc.fFlags = kRenderTarget_GrSurfaceFlag; |
- SkAutoTUnref<GrTexture> copy(context->textureProvider()->createTexture( |
- copyDesc, SkBudgeted::kYes)); |
+ SkAutoTUnref<GrTexture> copy(context->textureProvider()->createTexture(copyDesc, true)); |
context->copySurface(copy, externalTexture); |
test_read_pixels(reporter, context, copy, expectedPixelValues); |
} |