| Index: tests/GLProgramsTest.cpp
|
| diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
|
| index ed74ae8f6a65ae828a3c0727580ae1622d6b03db..41c66798daf06139c2d2aea6c3eae7d15915f2a7 100644
|
| --- a/tests/GLProgramsTest.cpp
|
| +++ b/tests/GLProgramsTest.cpp
|
| @@ -186,7 +186,7 @@ static void set_random_color_coverage_stages(GrGLGpu* gpu,
|
|
|
| static void set_random_state(GrPipelineBuilder* pipelineBuilder, SkRandom* random) {
|
| int state = 0;
|
| - for (int i = 1; i <= GrPipelineBuilder::kLast_StateBit; i <<= 1) {
|
| + for (int i = 1; i <= GrPipelineBuilder::kLast_Flag; i <<= 1) {
|
| state |= random->nextBool() * i;
|
| }
|
| pipelineBuilder->enableState(state);
|
|
|