Only run test_wrapped_resources() when GL is active
Review URL: https://codereview.chromium.org/1234233002
This commit is contained in:
parent
b4d40ef724
commit
eeb8d99b4e
@ -176,7 +176,8 @@ static void test_stencil_buffers(skiatest::Reporter* reporter, GrContext* contex
|
||||
|
||||
static void test_wrapped_resources(skiatest::Reporter* reporter, GrContext* context) {
|
||||
const GrGpu* gpu = context->getGpu();
|
||||
if (!gpu) {
|
||||
// this test is only valid for GL
|
||||
if (!gpu || !gpu->glContextForTesting()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user