diff options
author | David Robillard <d@drobilla.net> | 2020-03-06 21:52:48 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-06 21:52:48 +0100 |
commit | 38e79b037827420f09ee9bdf618591022abdfcab (patch) | |
tree | 0903bb0164e30cd02327473c905e55e1d15375fc | |
parent | e304a519d0d1971716cf1dfacb30b0469cada2e4 (diff) | |
download | pugl-38e79b037827420f09ee9bdf618591022abdfcab.tar.gz pugl-38e79b037827420f09ee9bdf618591022abdfcab.tar.bz2 pugl-38e79b037827420f09ee9bdf618591022abdfcab.zip |
Move puglSetBackend() to init group
-rw-r--r-- | pugl/pugl.h | 22 |
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. |