Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Unified Diff: mojo/public/platform/native/mgl_thunks.c

Issue 1354353002: Add GetProcAddress to OpenGL control interface (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Review feedback addressed Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/platform/native/mgl_thunks.c
diff --git a/mojo/public/platform/native/mgl_thunks.c b/mojo/public/platform/native/mgl_thunks.c
index 2e8e9d84c37e3aa3c97f73d03f7616ffccfb87fe..a40e709a195442c2ea5277da05a31850bc5659a4 100644
--- a/mojo/public/platform/native/mgl_thunks.c
+++ b/mojo/public/platform/native/mgl_thunks.c
@@ -43,3 +43,8 @@ THUNK_EXPORT size_t MojoSetMGLThunks(
g_thunks = *mgl_thunks;
return sizeof(g_thunks);
}
+
+void* MGLGetProcAddress(const char* name) {
+ assert(g_thunks.MGLGetProcAddress);
+ return g_thunks.MGLGetProcAddress(name);
+}
« mojo/public/platform/native/gles2/call_visitor.h ('K') | « mojo/public/platform/native/mgl_thunks.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698