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 3878cc7f95..ab181cb1c1 100644 --- a/example/SkiaSDLExample.cpp +++ b/example/SkiaSDLExample.cpp @@ -192,7 +192,7 @@ int main(int argc, char** argv) { sk_sp<const GrGLInterface> interface(GrGLCreateNativeInterface()); // setup contexts - sk_sp<GrContext> grContext(GrContext::MakeGL(interface.get())); + sk_sp<GrContext> grContext(GrContext::MakeGL(interface)); SkASSERT(grContext); // Wrap the frame buffer object attached to the screen in a Skia render target so Skia can |