| Index: tests/GLProgramsTest.cpp
|
| diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
|
| index 2264385902b3471f65576540c3ffc1a3f28521cc..899b42fb4f12401c41d40c00d37fe6f52fa93727 100644
|
| --- a/tests/GLProgramsTest.cpp
|
| +++ b/tests/GLProgramsTest.cpp
|
| @@ -147,6 +147,10 @@ bool GrGpuGL::programUnitTest(int maxStages) {
|
| dummyDesc.fHeight = 22;
|
| SkAutoTUnref<GrTexture> dummyTexture2(this->createTexture(dummyDesc, NULL, 0));
|
|
|
| + if (!dummyTexture1 || ! dummyTexture2) {
|
| + return false;
|
| + }
|
| +
|
| static const int NUM_TESTS = 512;
|
|
|
| SkRandom random;
|
|
|