Index: src/gpu/gl/GrGpuGL_program.cpp |
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp |
index 5548320631d8bcce3b209c3250df050671858658..3f58c1bf73a7ddc71118d25d4db8f416bea3c274 100644 |
--- a/src/gpu/gl/GrGpuGL_program.cpp |
+++ b/src/gpu/gl/GrGpuGL_program.cpp |
@@ -165,7 +165,7 @@ GrGLProgram* GrGpuGL::ProgramCache::getProgram(const GrGLProgramDesc& desc, |
memmove(fEntries + purgeIdx, fEntries + purgeIdx + 1, copySize); |
fEntries[entryIdx - 1] = entry; |
} |
-#if GR_DEBUG |
+#ifdef SK_DEBUG |
SkASSERT(NULL != fEntries[0]->fProgram.get()); |
for (int i = 0; i < fCount - 1; ++i) { |
SkASSERT(NULL != fEntries[i + 1]->fProgram.get()); |