FreeBSD Manual Pages
pop_video_context(3) Arcan Lua API pop_video_context(3) NAME pop_video_context - Deallocate the current video context. SYNOPSIS nil pop_video_context() DESCRIPTION All video objects are bound to (at least) one rendering context. The currently active context is managed on a stack. Poping involves delet- ing all video subsystem related resources currently bound to the active context. NOTES 1 poping the outmost context is similar to deleting all allocated vids. EXAMPLE function pop_video_context0() a = fill_surface(VRESW, VRESH, 0, 255, 0); show_image(a); pop_video_context(); -- a should disappear move_image(a, 0, 0); -- should yield a crash end SEE ALSO: system_context_size(3) current_context_usage(3) push_video_context(3) vidsys April 2025 pop_video_context(3)
NAME | SYNOPSIS | DESCRIPTION | NOTES | EXAMPLE | SEE ALSO:
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=pop_video_context&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>