aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index b2937e2..9e70100 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -630,6 +630,17 @@ puglProcessEvents(PuglView* view);
*/
/**
+ OpenGL extension function.
+*/
+typedef void (*PuglGlFunc)();
+
+/**
+ Return the address of an OpenGL extension function.
+*/
+PUGL_API PuglGlFunc
+puglGetProcAddress(const char* name);
+
+/**
Request a redisplay on the next call to puglProcessEvents().
*/
PUGL_API void