diff options
Diffstat (limited to 'tests/GpuSampleLocationsTest.cpp')
-rw-r--r-- | tests/GpuSampleLocationsTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<GrContext> ctx(GrContext::Create(kOpenGL_GrBackend, testInterface)); + sk_sp<GrContext> ctx(GrContext::MakeGL(&testInterface)); // This test relies on at least 2 samples. int supportedSample = ctx->caps()->getSampleCount(2, kRGBA_8888_GrPixelConfig); |