Index: tests/EGLImageTest.cpp |
diff --git a/tests/EGLImageTest.cpp b/tests/EGLImageTest.cpp |
index 47dad8164ed3f2a844cf6a4498b93f21a6558f2a..12646d53dcf8add792f3b042f29af1632fb7c46f 100644 |
--- a/tests/EGLImageTest.cpp |
+++ b/tests/EGLImageTest.cpp |
@@ -81,7 +81,10 @@ static void test_copy_surface(skiatest::Reporter* reporter, GrContext* context, |
test_read_pixels(reporter, context, copy, expectedPixelValues); |
} |
-DEF_GPUTEST_FOR_RENDERING_CONTEXTS(EGLImageTest, reporter, context0, glCtx0) { |
+DEF_GPUTEST_FOR_RENDERING_CONTEXTS(EGLImageTest, reporter, ctxInfo) { |
+ GrContext* context0 = ctxInfo.fGrContext; |
+ sk_gpu_test::GLTestContext* glCtx0 = ctxInfo.fGLContext; |
+ |
// Try to create a second GL context and then check if the contexts have necessary |
// extensions to run this test. |