diff options
Diffstat (limited to 'termgfx.cc')
-rw-r--r-- | termgfx.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/termgfx.cc b/termgfx.cc deleted file mode 100644 index 240c1b7..0000000 --- a/termgfx.cc +++ /dev/null @@ -1,13 +0,0 @@ -# include <luma/main.hh> -# include <vulkan/vulkan.h> -# include <wayland-client.h> -# include <xcb/xcb.h> -void luma::termgfx() { - ::vkDestroyInstance(luma::dat.vkinst,nullptr); - if(luma::dat.dispsrvproto == luma::dispsrvproto_t::x) { - ::xcb_disconnect(luma::dat.xconn); - } - else if(luma::dat.dispsrvproto == luma::dispsrvproto_t::wayland) { - ::wl_display_disconnect(luma::dat.wldisp); - } -} |