Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index a16173b9652f772de9ee8eeefe9a3a0117173d54..a0d642741e1ff23b3bcacb313fd2c5f2d30e6a2d 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -332,7 +332,9 @@ bool GrGpuGL::programUnitTest(int maxStages) { |
return false; |
} |
+ SkAutoTUnref<GrOptDrawState> optState(this->getDrawState().createOptState(*this->caps())); |
SkAutoTUnref<GrGLProgram> program(GrGLProgram::Create(this, |
+ *optState.get(), |
pdesc, |
geometryProcessor.get(), |
stages, |