diff options
Diffstat (limited to 'example')
-rw-r--r-- | example/SkiaSDLExample.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/SkiaSDLExample.cpp b/example/SkiaSDLExample.cpp index ab181cb1c1..3e23e576ed 100644 --- a/example/SkiaSDLExample.cpp +++ b/example/SkiaSDLExample.cpp @@ -189,7 +189,7 @@ int main(int argc, char** argv) { glClear(GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); // setup GrContext - sk_sp<const GrGLInterface> interface(GrGLCreateNativeInterface()); + auto interface = GrGLMakeNativeInterface(); // setup contexts sk_sp<GrContext> grContext(GrContext::MakeGL(interface)); |