aboutsummaryrefslogtreecommitdiff
path: root/tests/GLProgramsTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GLProgramsTest.cpp')
-rw-r--r--tests/GLProgramsTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
index 3df08a7f5b..64c8559196 100644
--- a/tests/GLProgramsTest.cpp
+++ b/tests/GLProgramsTest.cpp
@@ -76,16 +76,16 @@ void GrGLProgramDesc::setRandom(SkRandom* random,
bool vertexCode = false;
int numStages = numColorStages + numCoverageStages;
for (int s = 0; s < numStages; ++s) {
- const GrBackendEffectFactory& factory = (*stages[s]->getEffect())->getFactory();
+ const GrBackendEffectFactory& factory = stages[s]->getEffect()->getFactory();
GrDrawEffect drawEffect(*stages[s], useLocalCoords);
this->effectKeys()[s] = factory.glEffectKey(drawEffect, gpu->glCaps());
- if ((*stages[s]->getEffect())->willReadDstColor()) {
+ if (stages[s]->getEffect()->willReadDstColor()) {
dstRead = true;
}
- if ((*stages[s]->getEffect())->willReadFragmentPosition()) {
+ if (stages[s]->getEffect()->willReadFragmentPosition()) {
fragPos = true;
}
- if ((*stages[s]->getEffect())->hasVertexCode()) {
+ if (stages[s]->getEffect()->hasVertexCode()) {
vertexCode = true;
}
}