aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLInterface.cpp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-26 16:36:04 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-26 16:36:04 +0000
commitcffff79a40bd7672e13b31b9801a3f3cda64875e (patch)
treefac5fe8f4170e8eb7b28dfbe5fe601aaebb9adc9 /src/gpu/gl/GrGLInterface.cpp
parent0f48ee0a07aa50ab60bfff3c2718b9649e3639ea (diff)
get genmipmap function in the struct
BUG= R=bsalomon@google.com, reed@google.com Author: humper@google.com Review URL: https://chromiumcodereview.appspot.com/20436002 git-svn-id: http://skia.googlecode.com/svn/trunk@10393 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/gl/GrGLInterface.cpp')
-rw-r--r--src/gpu/gl/GrGLInterface.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp
index f5cef11b81..72d7934cbd 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 ||