aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/discard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/discard.cpp')
-rw-r--r--gm/discard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/discard.cpp b/gm/discard.cpp
index 58a08499c5..19a332fa15 100644
--- a/gm/discard.cpp
+++ b/gm/discard.cpp
@@ -46,7 +46,7 @@ protected:
size.fWidth /= 10;
size.fHeight /= 10;
SkImageInfo info = SkImageInfo::MakeN32Premul(size);
- SkSurface* surface = SkSurface::NewRenderTarget(context, info);
+ SkSurface* surface = SkSurface::NewRenderTarget(context, SkSurface::kNo_Budgeted, info);
if (NULL == surface) {
return;