From 384fab467e2a5f1754ec26eecde946ce28046d20 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Thu, 7 Dec 2017 12:33:05 -0500 Subject: sk_spification of GrGpu creation. Make GrContext::MakeGL take interface as sk_sp. Make GrContext::MakeVulkan take GrVkBackendContext as sk_sp. Change-Id: I13c22a57bd281c51738f503d9ed3418d35a466df Reviewed-on: https://skia-review.googlesource.com/81842 Commit-Queue: Brian Salomon Reviewed-by: Greg Daniel Reviewed-by: Robert Phillips --- example/SkiaSDLExample.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/SkiaSDLExample.cpp') 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 interface(GrGLCreateNativeInterface()); // setup contexts - sk_sp grContext(GrContext::MakeGL(interface.get())); + sk_sp grContext(GrContext::MakeGL(interface)); SkASSERT(grContext); // Wrap the frame buffer object attached to the screen in a Skia render target so Skia can -- cgit v1.2.3