func (w *win) swapBuffers(r *nrefs) { C.gs_swap_buffers(C.long(r.shell)) }
func (o *osx) swapBuffers(r *nrefs) { C.gs_swap_buffers(C.long(r.context)) }