Fix ios build?
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 21 Jan 2014 16:35:56 +0000 (16:35 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 21 Jan 2014 16:35:56 +0000 (16:35 +0000)
Review URL: https://codereview.chromium.org/134083009

git-svn-id: http://skia.googlecode.com/svn/trunk@13131 2bbb7eff-a529-9590-31e7-b0007b416f81

src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp

index 3f3007a..663525a 100644 (file)
@@ -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;
 }