Index: cmake/example.cpp |
diff --git a/cmake/example.cpp b/cmake/example.cpp |
index 2fc91d52205d9c1badbb8245069365f3919598d0..247deafd628102eba5b4004320665bc29985ad9c 100644 |
--- a/cmake/example.cpp |
+++ b/cmake/example.cpp |
@@ -54,7 +54,7 @@ static std::shared_ptr<SkSurface> create_opengl_surface(int w, int h) { |
std::cout << "Using opengl surface" << std::endl; |
std::shared_ptr<GrContext> grContext = adopt(GrContext::Create(kOpenGL_GrBackend, 0)); |
return adopt(SkSurface::NewRenderTarget(grContext.get(), |
- SkSurface::kNo_Budgeted, |
+ SkBudgeted::kNo, |
SkImageInfo::MakeN32Premul(w,h))); |
} |