Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index e8b6da5193f6cc4fc4067867641d3338f8b68db8..931789c8ef0213ba5b23abb3293e19e10189c575 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -14,6 +14,7 @@ |
#include "GrBackendEffectFactory.h" |
#include "GrContextFactory.h" |
+#include "GrDrawEffect.h" |
#include "effects/GrConfigConversionEffect.h" |
#include "gl/GrGLPathRendering.h" |
#include "gl/GrGpuGL.h" |
@@ -55,6 +56,7 @@ |
fKey.reset(); |
return false; |
} |
+ GrDrawEffect drawEffect(*stage, useLocalCoords); |
GrEffectKeyBuilder b(&fKey); |
uint16_t effectKeySize; |
if (!GetEffectKeyAndUpdateStats(*stage, gpu->glCaps(), useLocalCoords, &b, |
@@ -77,6 +79,7 @@ |
fKey.reset(); |
return false; |
} |
+ GrDrawEffect drawEffect(*stage, useLocalCoords); |
GrEffectKeyBuilder b(&fKey); |
uint16_t effectKeySize; |
if (!GetEffectKeyAndUpdateStats(*stage, gpu->glCaps(), useLocalCoords, &b, |