From 304eb1c3ef88145ef3e2d37adafa35e708a792eb Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Tue, 21 Jan 2014 16:35:56 +0000 Subject: [PATCH] Fix ios build? 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp b/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp index 3f3007a..663525a 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; } -- 2.7.4