aboutsummaryrefslogtreecommitdiffstats
path: root/gpu/src/skia/SkUIView.mm
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/src/skia/SkUIView.mm')
-rw-r--r--gpu/src/skia/SkUIView.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/src/skia/SkUIView.mm b/gpu/src/skia/SkUIView.mm
index 667a474..8cd6c77 100644
--- a/gpu/src/skia/SkUIView.mm
+++ b/gpu/src/skia/SkUIView.mm
@@ -362,9 +362,9 @@ static GrContext* get_global_grctx() {
// should be pthread-local at least
if (NULL == gCtx) {
#ifdef USE_GL_1
- gCtx = GrContext::Create(GrGpu::kOpenGL_Fixed_Engine, NULL);
+ gCtx = GrContext::Create(GrGpu::kOpenGL_Fixed_Engine, 0);
#else
- gCtx = GrContext::Create(GrGpu::kOpenGL_Shaders_Engine, NULL);
+ gCtx = GrContext::Create(GrGpu::kOpenGL_Shaders_Engine, 0);
#endif
}
return gCtx;