aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pugl/pugl.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index bc168d6..95c2a5f 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -592,6 +592,17 @@ PUGL_API PuglHandle
puglGetHandle(PuglView* view);
/**
+ Set the graphics backend to use.
+
+ This needs to be called once before creating the window to set the graphics
+ backend. There are two backend accessors included with pugl:
+ puglGlBackend() and puglCairoBackend(), declared in pugl_gl.h and
+ pugl_cairo.h, respectively.
+*/
+PUGL_API PuglStatus
+puglSetBackend(PuglView* view, const PuglBackend* backend);
+
+/**
Set the function to call when an event occurs.
*/
PUGL_API PuglStatus
@@ -721,17 +732,6 @@ puglGetNativeWindow(PuglView* view);
*/
/**
- Set the graphics backend to use.
-
- This needs to be called once before creating the window to set the graphics
- backend. There are two backend accessors included with pugl:
- puglGlBackend() and puglCairoBackend(), declared in pugl_gl.h and
- pugl_cairo.h, respectively.
-*/
-PUGL_API PuglStatus
-puglSetBackend(PuglView* view, const PuglBackend* backend);
-
-/**
Get the drawing context.
The context is only guaranteed to be available during an expose.