diff options
Diffstat (limited to 'tests/ImageNewShaderTest.cpp')
-rw-r--r-- | tests/ImageNewShaderTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ImageNewShaderTest.cpp b/tests/ImageNewShaderTest.cpp index 4ae0b6de8e..164f11898e 100644 --- a/tests/ImageNewShaderTest.cpp +++ b/tests/ImageNewShaderTest.cpp @@ -139,15 +139,15 @@ void rasterToGpu(skiatest::Reporter* reporter, GrContext* context) { runShaderTest(reporter, sourceSurface.get(), destinationSurface.get(), info); } -DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImageNewShader_GPU, reporter, context) { +DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImageNewShader_GPU, reporter, ctxInfo) { // GPU -> GPU - gpuToGpu(reporter, context); + gpuToGpu(reporter, ctxInfo.fGrContext); // GPU -> RASTER - gpuToRaster(reporter, context); + gpuToRaster(reporter, ctxInfo.fGrContext); // RASTER -> GPU - rasterToGpu(reporter, context); + rasterToGpu(reporter, ctxInfo.fGrContext); } #endif |