aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_stub.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_stub.h')
-rw-r--r--pugl/pugl_stub.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/pugl/pugl_stub.h b/pugl/pugl_stub.h
index f50f96b..3ecc2b4 100644
--- a/pugl/pugl_stub.h
+++ b/pugl/pugl_stub.h
@@ -28,6 +28,21 @@ extern "C" {
#endif
/**
+ @defgroup stub Stub
+
+ Stub graphics backend.
+
+ The stub backend functions do nothing and always
+ return success. These do not make for a usable backend on their own since
+ the platform implementation would fail to create a window, but are useful
+ for other backends to reuse since not all need non-trivial implementations
+ of every backend function.
+
+ @ingroup pugl
+ @{
+*/
+
+/**
Stub graphics backend.
This backend just creates a simple native window without setting up any
@@ -37,18 +52,6 @@ PUGL_API
const PuglBackend*
puglStubBackend(void);
-/**
- @name Stub backend functions
-
- Implementations of stub backend functions which do nothing and always return
- success. These do not make for a usable backend on their own since the
- platform implementation would fail to create a window, but are useful for
- other backends to reuse since not all need non-trivial implementations of
- every backend function.
-
- @{
-*/
-
static inline PuglStatus
puglStubConfigure(PuglView* view)
{