From: bsalomon@google.com Date: Tue, 21 Jan 2014 16:35:56 +0000 (+0000) Subject: Fix ios build? X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~9327 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=304eb1c3ef88145ef3e2d37adafa35e708a792eb;p=platform%2Fupstream%2FlibSkiaSharp.git 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 --- 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; }