aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl/detail/implementation.c
AgeCommit message (Collapse)AuthorFilesLines
2020-10-22Resurrect puglEnterContext() and puglLeaveContext()David Robillard1-16/+6
Even though loading is now better handled with create events, there are still situations with OpenGL where it's difficult to avoid explicitly entering and leaving the context. So, resurrect these functions, but remove the drawing parameter to make it clear that they must never be used for drawing. This breaks the deprecated API since the drawing parameter would be inappropriate for the stable API, and a decent alternative name isn't available.
2020-10-21Move includes to a separate directoryDavid Robillard1-0/+493
This is more conventional and directories named "include" are specially understood by some tooling like clang-tidy.