diff options
Diffstat (limited to 'src/gpu/gl/iOS')
-rw-r--r-- | src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp b/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp index 3f3007a008..663525ae52 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; } |