diff options
author | 2014-11-14 16:00:38 -0800 | |
---|---|---|
committer | 2014-11-14 16:00:38 -0800 | |
commit | 5478d427c6e67c986a3390162c8fec77c466058a (patch) | |
tree | 2dabf11f5510aedbb8d59dc607088af0e4b7ab36 /tests | |
parent | 28562a01999d49abcbd60abbfba06f2ac8046f6d (diff) |
Push creation of default GP to the caller
TBR=
BUG=skia:
Review URL: https://codereview.chromium.org/715903002
Diffstat (limited to 'tests')
-rw-r--r-- | tests/GLProgramsTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp index dd731e0773..a3ef323e41 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); } |