diff options
Diffstat (limited to 'pugl/pugl_gl_backend.h')
-rw-r--r-- | pugl/pugl_gl_backend.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pugl/pugl_gl_backend.h b/pugl/pugl_gl_backend.h index 11f4e4b..5913b95 100644 --- a/pugl/pugl_gl_backend.h +++ b/pugl/pugl_gl_backend.h @@ -14,15 +14,24 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +/** + @file pugl_gl_backend.h Declaration of OpenGL backend accessor. +*/ + #ifndef PUGL_GL_BACKEND_H #define PUGL_GL_BACKEND_H -#include "pugl/pugl_internal_types.h" +#include "pugl/pugl.h" #ifdef __cplusplus extern "C" { #endif +/** + OpenGL graphics backend. + + Pass the return value to puglInitBackend() to draw to a view with OpenGL. +*/ PUGL_API const PuglBackend* puglGlBackend(void); |