Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index dd731e07732a86904386bc30ed1220690fe26657..a3ef323e41ba5448f782e0520059d183fb111154 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -439,7 +439,7 @@ bool GrDrawTarget::programUnitTest(int maxStages) { |
GrGpu::kDrawPoints_DrawType; |
// twiddle drawstate knobs randomly |
- bool hasGeometryProcessor = usePathRendering ? false : random.nextBool(); |
+ bool hasGeometryProcessor = !usePathRendering; |
if (hasGeometryProcessor) { |
set_random_gp(fContext, gpu->glCaps(), ds, &random, dummyTextures); |
} |