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 3f3007a008dd94fae8ebc46fcaa0b892fdbb1281..663525ae52ec94e1126a765a5d0dc9c430a98549 100644 |
--- a/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp |
+++ b/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp |
@@ -15,6 +15,8 @@ |
const GrGLInterface* GrGLCreateNativeInterface() { |
GrGLInterface* interface = SkNEW(GrGLInterface); |
+ GrGLInterface::Functions* functions = interface->functions; |
+ |
functions->fActiveTexture = glActiveTexture; |
functions->fAttachShader = glAttachShader; |
functions->fBindAttribLocation = glBindAttribLocation; |
@@ -144,5 +146,6 @@ const GrGLInterface* GrGLCreateNativeInterface() { |
interface->fStandard = kGLES_GrGLStandard; |
interface->fExtensions.init(kGLES_GrGLStandard, glGetString, NULL, glGetIntegerv); |
+ |
return interface; |
} |