diff options
Diffstat (limited to 'example/SkiaSDLExample.cpp')
-rw-r--r-- | example/SkiaSDLExample.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/example/SkiaSDLExample.cpp b/example/SkiaSDLExample.cpp index 813485f8a3..3c4dccccb2 100644 --- a/example/SkiaSDLExample.cpp +++ b/example/SkiaSDLExample.cpp @@ -187,8 +187,7 @@ int main(int argc, char** argv) { sk_sp<const GrGLInterface> interface(GrGLCreateNativeInterface()); // setup contexts - sk_sp<GrContext> grContext(GrContext::Create(kOpenGL_GrBackend, - (GrBackendContext)interface.get())); + sk_sp<GrContext> grContext(GrContext::MakeGL(interface.get())); SkASSERT(grContext); // Wrap the frame buffer object attached to the screen in a Skia render target so Skia can |