pub fn swap_buffers<W: Any + Window>(_rt: &mut Runtime) -> Result<(), String>