Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index 9be082a47bae7d27922bf74d4f17957673098cf7..0627eb50f6f2e5683e83e793476e2c3a10e258cc 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -438,7 +438,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); |
} |