aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-09-01 22:23:47 -0400
committerDavid Robillard <d@drobilla.net>2016-09-01 22:23:47 -0400
commitddfcee0fd3e6daf7174497c6a7183d83651a5c88 (patch)
treede8b1ac8a9636dc1166690ef60e148260e136340 /pugl/pugl_x11.c
parenta25ecaf03e75e61314b7271068a030b7d33eaf09 (diff)
downloadpugl-ddfcee0fd3e6daf7174497c6a7183d83651a5c88.tar.gz
pugl-ddfcee0fd3e6daf7174497c6a7183d83651a5c88.tar.bz2
pugl-ddfcee0fd3e6daf7174497c6a7183d83651a5c88.zip
Expose puglEnterContext() and puglLeaveContext()
This allows code in the main thread to set up the GL context outside the scope of a draw callback, which is useful for porting existing code that assumes the GL context can be entered anywhere.
Diffstat (limited to 'pugl/pugl_x11.c')
0 files changed, 0 insertions, 0 deletions