diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-05 15:44:21 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-05 15:44:21 +0000 |
commit | 1d1d4248f6e613352f468ca4c2f96e8fb8d00e3d (patch) | |
tree | 2baf76407831e125e1b4f1b0047b159c4b042fa2 /tests/GLProgramsTest.cpp | |
parent | d4ce480d2bb4d34028eead7b3355ad3bc9fffac5 (diff) |
Actually fix angle GLPrograms test.
git-svn-id: http://skia.googlecode.com/svn/trunk@7578 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/GLProgramsTest.cpp')
-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 830f38db12..1d8ec35dc9 100644 --- a/tests/GLProgramsTest.cpp +++ b/tests/GLProgramsTest.cpp @@ -111,7 +111,7 @@ bool GrGpuGL::programUnitTest(int maxStages) { GrEffectStage stages[GrDrawState::kNumStages]; - for (int s = 0; s < GrDrawState::kNumStages; ++s) { + for (int s = 0; s < maxStages; ++s) { // enable the stage? if (random_bool(&random)) { // use separate tex coords? |