Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index 2cf21c51981d4ddd864652ebf8f7ca83619bba13..53af4309747dc53c8414ef4b6c0cc479289a9f69 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -190,7 +190,8 @@ bool GrGpuGL::programUnitTest(int maxStages) { |
SkAutoTUnref<GrGLProgram> program(GrGLProgram::Create(this->glContext(), |
pdesc, |
- stages.get())); |
+ stages, |
+ stages + numColorStages)); |
for (int s = 0; s < numStages; ++s) { |
SkDELETE(stages[s]); |
} |