diff options
author | David Robillard <d@drobilla.net> | 2020-10-22 14:25:47 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-22 14:25:47 +0200 |
commit | eadf8e9a92414a7443440c810662a30af5ff3c77 (patch) | |
tree | 8c6a2f87dce804487edd595b6067d2029218a469 /include/pugl/detail/mac.h | |
parent | 336ab6bcf31df95edccc8bafce11149650ddeb46 (diff) | |
download | pugl-eadf8e9a92414a7443440c810662a30af5ff3c77.tar.gz pugl-eadf8e9a92414a7443440c810662a30af5ff3c77.tar.bz2 pugl-eadf8e9a92414a7443440c810662a30af5ff3c77.zip |
Resurrect puglEnterContext() and puglLeaveContext()
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.
Diffstat (limited to 'include/pugl/detail/mac.h')
0 files changed, 0 insertions, 0 deletions