commit | 758586c7f11a6b3529bd4a1c9b4e982a0d0b0582 | [log] [tgz] |
---|---|---|
author | bsalomon <bsalomon@google.com> | Wed Apr 06 14:02:39 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Apr 06 14:02:39 2016 -0700 |
tree | 6a325080ce7cd2b6b1396eade7eaa3ff804b44e6 | |
parent | 9e65f9399ea9d50dca723ca23c10ec4145b54abe [diff] [blame] |
Make existing unit tests only run on GL contexts BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1869503002 Review URL: https://codereview.chromium.org/1869503002
diff --git a/tests/GrSurfaceTest.cpp b/tests/GrSurfaceTest.cpp index 280a1c8..a7b64b7 100644 --- a/tests/GrSurfaceTest.cpp +++ b/tests/GrSurfaceTest.cpp
@@ -18,7 +18,7 @@ // Tests that GrSurface::asTexture(), GrSurface::asRenderTarget(), and static upcasting of texture // and render targets to GrSurface all work as expected. -DEF_GPUTEST_FOR_NULL_CONTEXT(GrSurface, reporter, ctxInfo) { +DEF_GPUTEST_FOR_NULLGL_CONTEXT(GrSurface, reporter, ctxInfo) { GrContext* context = ctxInfo.fGrContext; GrSurfaceDesc desc; desc.fConfig = kSkia8888_GrPixelConfig;