diff options
author | 2016-02-25 06:33:26 -0800 | |
---|---|---|
committer | 2016-02-25 06:33:27 -0800 | |
commit | 57599fe6c0336feaeeeb9b1996e77b70219b483c (patch) | |
tree | 5387b10428f64c8e5e56427b24a589489d746440 /cmake | |
parent | ddb347b63c72141378fc8bd25fa40d6dac9fe916 (diff) |
Move Budgeted enum out of SkSurface, use in GrTextureProvider
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1728093005
DOCS_PREVIEW= https://skia.org/?cl=1728093005
Review URL: https://codereview.chromium.org/1728093005
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/example.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/example.cpp b/cmake/example.cpp index 2fc91d5220..247deafd62 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))); } |