blob: 1df354728b0cb671714f1407a5870f0bd39b9837 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# include <cstdint>
# 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 constexpr(luma::usex == 0x1) {
::xcb_disconnect(luma::dat.xconn);
}
else {
::wl_display_disconnect(luma::dat.wldisp);
}
}
|