From 02611d9afdd887ee443825ac88377f2eea093380 Mon Sep 17 00:00:00 2001 From: Greg Daniel Date: Tue, 25 Jul 2017 10:05:01 -0400 Subject: Add Make[backend] calls for creating GrContexts Docs-Preview: https://skia.org/?cl=26369 Bug: skia: Change-Id: I460ee63e466f85b05918479f068a2e5ca2d70550 Reviewed-on: https://skia-review.googlesource.com/26369 Commit-Queue: Greg Daniel Reviewed-by: Brian Salomon --- tests/GpuSampleLocationsTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/GpuSampleLocationsTest.cpp') diff --git a/tests/GpuSampleLocationsTest.cpp b/tests/GpuSampleLocationsTest.cpp index 6c5d4a6d37..0f8fd7f9b3 100644 --- a/tests/GpuSampleLocationsTest.cpp +++ b/tests/GpuSampleLocationsTest.cpp @@ -186,7 +186,7 @@ private: DEF_GPUTEST(GLSampleLocations, reporter, /*factory*/) { GLTestSampleLocationsInterface testInterface; - sk_sp ctx(GrContext::Create(kOpenGL_GrBackend, testInterface)); + sk_sp ctx(GrContext::MakeGL(&testInterface)); // This test relies on at least 2 samples. int supportedSample = ctx->caps()->getSampleCount(2, kRGBA_8888_GrPixelConfig); -- cgit v1.2.3