Index: mojo/public/platform/native/mgl_thunks.h |
diff --git a/mojo/public/platform/native/mgl_thunks.h b/mojo/public/platform/native/mgl_thunks.h |
index 8a56474ea03227850cca9797bfe149b266268f7b..0c4e0994a25a4819e58f59b1fe19aa2d07516cfe 100644 |
--- a/mojo/public/platform/native/mgl_thunks.h |
+++ b/mojo/public/platform/native/mgl_thunks.h |
@@ -27,6 +27,7 @@ struct MGLThunks { |
void (*MGLDestroyContext)(MGLContext context); |
void (*MGLMakeCurrent)(MGLContext context); |
MGLContext (*MGLGetCurrentContext)(void); |
+ MGLMustCastToProperFunctionPointerType (*MGLGetProcAddress)(const char* name); |
}; |
#pragma pack(pop) |
@@ -39,6 +40,7 @@ inline struct MGLThunks MojoMakeMGLThunks() { |
MGLDestroyContext, |
MGLMakeCurrent, |
MGLGetCurrentContext, |
+ MGLGetProcAddress, |
}; |
return mgl_thunks; |