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

Unified Diff: mojo/public/c/gpu/MGL/mgl.h

Issue 1354353002: Add GetProcAddress to OpenGL control interface (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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/c/gpu/MGL/mgl.h
diff --git a/mojo/public/c/gpu/MGL/mgl.h b/mojo/public/c/gpu/MGL/mgl.h
index 2633976ddbdcc82f3cc8147df3e14cd8e036320f..a74bc861c404fb4e0c1b41107eb48729bb3b16e0 100644
--- a/mojo/public/c/gpu/MGL/mgl.h
+++ b/mojo/public/c/gpu/MGL/mgl.h
@@ -55,6 +55,10 @@ void MGLMakeCurrent(MGLContext context);
// if there is none.
MGLContext MGLGetCurrentContext(void);
+typedef void (*MGLFunctionPointerType)(void);
jamesr 2015/09/21 19:38:50 this should go in mgl_types.h and have a bit of gu
Petr Hosek 2015/09/22 20:06:54 I've decided to use `void *` instead which is more
+
+MGLFunctionPointerType MGLGetProcAddress(const char* procname);
jamesr 2015/09/21 19:38:50 this should be documented to say what it does, wha
Petr Hosek 2015/09/22 20:06:54 Done.
+
#ifdef __cplusplus
} // extern "C"
#endif

Powered by Google App Engine
This is Rietveld 408576698