# include # include # include # include void luma::app_t::termgfx() { ::vkDestroyInstance(this->vkinst,nullptr); if(this->dispsrvproto == this->dispsrvproto_t::x) { ::xcb_disconnect(this->xconn); } else if(this->dispsrvproto == this->dispsrvproto_t::wayland) { ::wl_display_disconnect(this->wldisp); } }