#include <xcb/glx.h>
xcb_void_cookie_t
xcb_glx_swap_buffers(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag,
xcb_glx_drawable_t drawable);
- conn
- The XCB connection to X11.
- context_tag
- TODO: NOT YET DOCUMENTED.
- drawable
- TODO: NOT YET DOCUMENTED.
Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the
event loop.
If you want to handle errors directly with
xcb_request_check instead, use xcb_glx_swap_buffers_checked.
See xcb-requests(3) for details.
This request does never generate any errors.
Generated from glx.xml. Contact xcb@lists.freedesktop.org for corrections and
improvements.