diff options
author | David Robillard <d@drobilla.net> | 2019-10-27 13:18:57 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-11-03 21:03:18 +0100 |
commit | c75c10d2385aaa1bbf7d8f5ae437ccd5d1e3803f (patch) | |
tree | 9dace3da383ca1edcc01118f8447f17b0eb52395 /pugl/pugl_stub_backend.h | |
parent | 3c9a8a2ed86d08da842e11d32065da43b5bfdc77 (diff) | |
download | pugl-c75c10d2385aaa1bbf7d8f5ae437ccd5d1e3803f.tar.gz pugl-c75c10d2385aaa1bbf7d8f5ae437ccd5d1e3803f.tar.bz2 pugl-c75c10d2385aaa1bbf7d8f5ae437ccd5d1e3803f.zip |
Expose functional stub backend
Diffstat (limited to 'pugl/pugl_stub_backend.h')
-rw-r--r-- | pugl/pugl_stub_backend.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/pugl/pugl_stub_backend.h b/pugl/pugl_stub_backend.h index 27a961b..7de6e14 100644 --- a/pugl/pugl_stub_backend.h +++ b/pugl/pugl_stub_backend.h @@ -15,7 +15,7 @@ */ /** - @file pugl_stub_backend.h Stub backend functions. + @file pugl_stub_backend.h Stub backend functions and accessor declaration. */ #ifndef PUGL_STUB_BACKEND_H @@ -28,6 +28,16 @@ extern "C" { #endif /** + Stub graphics backend. + + This backend just creates a simple native window without setting up any + portable graphics API. +*/ +PUGL_API +const PuglBackend* +puglStubBackend(void); + +/** @name Stub backend functions Implementations of stub backend functions which do nothing and always return |