aboutsummaryrefslogtreecommitdiffstats
path: root/shaders/header_420.glsl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-10-22 14:25:47 +0200
committerDavid Robillard <d@drobilla.net>2020-10-22 14:25:47 +0200
commiteadf8e9a92414a7443440c810662a30af5ff3c77 (patch)
tree8c6a2f87dce804487edd595b6067d2029218a469 /shaders/header_420.glsl
parent336ab6bcf31df95edccc8bafce11149650ddeb46 (diff)
downloadpugl-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 'shaders/header_420.glsl')
0 files changed, 0 insertions, 0 deletions