Index: src/gpu/gl/GrGLInterface.cpp |
diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp |
index f5cef11b81e4316d27606f3166413391ba189787..72d7934cbda4715424dc6d35e88454a4f2ad3a74 100644 |
--- a/src/gpu/gl/GrGLInterface.cpp |
+++ b/src/gpu/gl/GrGLInterface.cpp |
@@ -78,6 +78,9 @@ bool GrGLInterface::validate(GrGLBinding binding) const { |
NULL == fGenBuffers || |
NULL == fGenTextures || |
NULL == fGetBufferParameteriv || |
+#ifndef SKIA_IGNORE_GPU_MIPMAPS |
+ NULL == fGenerateMipmap || |
+#endif |
NULL == fGetError || |
NULL == fGetIntegerv || |
NULL == fGetProgramInfoLog || |