| Index: tests/GLProgramsTest.cpp
|
| diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
|
| index 24312eed8d8a3d83573d80a4d4c45f05cc41c9bc..baca12b04d80337f1be9b4243c487aa0e7acf668 100644
|
| --- a/tests/GLProgramsTest.cpp
|
| +++ b/tests/GLProgramsTest.cpp
|
| @@ -154,7 +154,7 @@ bool GrGpuGL::programUnitTest(int maxStages) {
|
|
|
| int currAttribIndex = 1; // we need to always leave room for position
|
| int currTextureCoordSet = 0;
|
| - int attribIndices[2];
|
| + int attribIndices[2] = { 0, 0 };
|
| GrTexture* dummyTextures[] = {dummyTexture1.get(), dummyTexture2.get()};
|
|
|
| int numStages = random.nextULessThan(maxStages + 1);
|
|
|