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 |