Review URL: https://codereview.chromium.org/
134083009
git-svn-id: http://skia.googlecode.com/svn/trunk@13131
2bbb7eff-a529-9590-31e7-
b0007b416f81
const GrGLInterface* GrGLCreateNativeInterface() {
GrGLInterface* interface = SkNEW(GrGLInterface);
+ GrGLInterface::Functions* functions = interface->functions;
+
functions->fActiveTexture = glActiveTexture;
functions->fAttachShader = glAttachShader;
functions->fBindAttribLocation = glBindAttribLocation;
interface->fStandard = kGLES_GrGLStandard;
interface->fExtensions.init(kGLES_GrGLStandard, glGetString, NULL, glGetIntegerv);
+
return interface;
}