| Index: tests/GLProgramsTest.cpp
|
| diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
|
| index 1f98b7ca4421260db1a48ddd63cbe3426eb1241a..bc3da6d9ee256e39548f77ec5a2cd62baf528cd0 100644
|
| --- a/tests/GLProgramsTest.cpp
|
| +++ b/tests/GLProgramsTest.cpp
|
| @@ -254,7 +254,8 @@ bool GrDrawTarget::programUnitTest(int maxStages) {
|
| pipelineBuilder.setClip(clip);
|
|
|
| // if path rendering we have to setup a couple of things like the draw type
|
| - bool usePathRendering = gpu->glCaps().pathRenderingSupport() && random.nextBool();
|
| + bool usePathRendering = gpu->glCaps().shaderCaps()->pathRenderingSupport() &&
|
| + random.nextBool();
|
|
|
| // twiddle drawstate knobs randomly
|
| bool hasGeometryProcessor = !usePathRendering;
|
|
|