From 94c1b2d414055f9a4ea203fb210666aa769d0096 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Sun, 10 Jan 2021 19:51:03 +0100 Subject: Create xcb surface and swapchain --- include/window.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/window.hpp') diff --git a/include/window.hpp b/include/window.hpp index 593c6f8..8ddb58d 100644 --- a/include/window.hpp +++ b/include/window.hpp @@ -5,11 +5,13 @@ class window { public: - window(); + window(uint32_t width, uint32_t height); - private: xcb_connection_t* connection; xcb_window_t win; + + uint32_t width; + uint32_t height; }; #endif // !__WINDOW_HPP_ -- cgit v1.3