diff options
Diffstat (limited to 'src/opengl/notes.md')
-rw-r--r-- | src/opengl/notes.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/opengl/notes.md b/src/opengl/notes.md new file mode 100644 index 0000000..3ea0171 --- /dev/null +++ b/src/opengl/notes.md @@ -0,0 +1,10 @@ +honey/gl +-------- + +only support 1 window, for simplicity + +want to be **as transparent as possible**! only hide things from the Lua layer when they are either performance-critical or when they are so C-level that wrapping them would be too clunky. + +**lua setup functions should do nothing except populate tables** + +`gl.init()` will create the window (because that's how we get the opengl context) |