Index: src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp |
diff --git a/src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp b/src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp |
index 96a38af53919f43ee047e2206581ecd95e717072..f57b80ebc7de28174838679dc7d369ea3d370c74 100644 |
--- a/src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp |
+++ b/src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp |
@@ -38,8 +38,8 @@ static void* GetProcAddress(const char* name) { |
return dlsym(gLoader.handle(), name); |
} |
-#define GET_PROC(name) (interface->f ## name = ((GrGL ## name ## Proc) GetProcAddress("gl" #name))) |
-#define GET_PROC_SUFFIX(name, suffix) (interface->f ## name = ((GrGL ## name ## Proc) GetProcAddress("gl" #name #suffix))) |
+#define GET_PROC(name) (interface->fFunctions.f ## name = ((GrGL ## name ## Proc) GetProcAddress("gl" #name))) |
+#define GET_PROC_SUFFIX(name, suffix) (interface->fFunctions.f ## name = ((GrGL ## name ## Proc) GetProcAddress("gl" #name #suffix))) |
const GrGLInterface* GrGLCreateNativeInterface() { |