aboutsummaryrefslogtreecommitdiff
path: root/tests/GLProgramsTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GLProgramsTest.cpp')
-rw-r--r--tests/GLProgramsTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
index b95a0bf058..e6b2f56d5b 100644
--- a/tests/GLProgramsTest.cpp
+++ b/tests/GLProgramsTest.cpp
@@ -136,7 +136,7 @@ bool GrGpuGL::programUnitTest() {
pdesc.fVertexLayout |= kTextFormat_VertexLayoutBit;
}
- stage.fCustomStageKey = 0;
+ stage.fEffectKey = 0;
stage.fOptFlags |= STAGE_OPTS[random_int(&random, GR_ARRAY_COUNT(STAGE_OPTS))];
@@ -147,8 +147,8 @@ bool GrGpuGL::programUnitTest() {
getContext(),
dummyTextures));
if (NULL != effects[s]) {
- stage.fCustomStageKey =
- effects[s]->getFactory().glStageKey(*effects[s], this->glCaps());
+ stage.fEffectKey =
+ effects[s]->getFactory().glEffectKey(*effects[s], this->glCaps());
}
}
}