diff options
author | 2014-01-21 16:35:56 +0000 | |
---|---|---|
committer | 2014-01-21 16:35:56 +0000 | |
commit | 304eb1c3ef88145ef3e2d37adafa35e708a792eb (patch) | |
tree | d7ab437076cd8424ea0ed810d4dc3b1b08715561 | |
parent | c72425ae368bfcb47de7d2532eb90d305ec0d1cf (diff) |
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
-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; } |