Index: src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp |
diff --git a/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp b/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp |
index 6af047159a7ed4890bf6eefc61561fe7b648f205..08e7ac8a01e68c214e93427b3a7660ee0f03298d 100644 |
--- a/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp |
+++ b/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp |
@@ -132,6 +132,11 @@ const GrGLInterface* GrGLCreateNativeInterface() { |
functions->fUnmapBuffer = glUnmapBufferOES; |
#endif |
+#if GL_EXT_map_buffer_range || GL_ES_VERSION_3_0 |
+ functions->fMapBufferRange = glMapBufferRangeEXT; |
+ functions->fFlushMappedBufferRange = glFlushMappedBufferRangeEXT; |
+#endif |
+ |
#if GL_APPLE_framebuffer_multisample |
functions->fRenderbufferStorageMultisample = glRenderbufferStorageMultisampleAPPLE; |
functions->fResolveMultisampleFramebuffer = glResolveMultisampleFramebufferAPPLE; |