Skip to content

Commit

Permalink
Add mention about bodge-glad requirement when using provided renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
borodust committed Aug 30, 2018
1 parent 16f5276 commit fa7455a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -20,9 +20,13 @@ Wrapper over [`Nuklear`](https://github.com/vurtun/nuklear) immediate mode GUI l
All wrapped functions can be found in `%nk` package. On the other hand, `nk` package contains
minimally lispified wrappers and utility functions.

Native Nuklear vertex buffer-backed renderer is included. See `#'make-renderer` and
Native Nuklear OpenGL-based vertex buffer-backed renderer is included. See `#'make-renderer` and
`#'render-nuklear` functions.

To use the renderer you additionally need to load `bodge-glad` and `glad-blob` and invoke
`(glad:init)` in the thread with valid OpenGL 3+ context before any call to the renderer to
initialize required OpenGL entrypoints.

# Example
Example on how to use nuklear and included renderer can be found in
[`example.lisp`](example.lisp). See `#'compose-nuklear` function.
Expand Down

0 comments on commit fa7455a

Please sign in to comment.