Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index 3b75b0f8d2601ebf3c92d024967488694fc1c1d1..ec18a8cd521e9deafd47b55586465ebef79c4e50 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -317,7 +317,7 @@ bool GrDrawTarget::programUnitTest(int maxStages) { |
// create optimized draw state, setup readDst texture if required, and build a descriptor |
// and program. ODS creation can fail, so we have to check |
- GrOptDrawState ods(ds, gp, pathProc, *gpu->caps(), scissor, &dstCopy, drawType); |
+ GrOptDrawState ods(ds, primProc, *gpu->caps(), scissor, &dstCopy, drawType); |
if (ods.mustSkip()) { |
continue; |
} |