aboutsummaryrefslogtreecommitdiffstats
path: root/include/window.hpp
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2021-01-17 20:54:11 +0100
committerladevieq <ladevie.quentin@gmail.com>2021-01-17 20:54:11 +0100
commit25125b2e23c02199bdefb3a638584465229fd833 (patch)
treef52891f855f3cf78f3f97cd5c38fe23e55a0424d /include/window.hpp
parentdfc9a9b37d544d3a357b560829d2a9a48e5e5f5b (diff)
Handle window resize
Diffstat (limited to 'include/window.hpp')
-rw-r--r--include/window.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/window.hpp b/include/window.hpp
index 550463d..3298d36 100644
--- a/include/window.hpp
+++ b/include/window.hpp
@@ -1,9 +1,12 @@
#ifndef __WINDOW_HPP_
#define __WINDOW_HPP_
-#include "defines.hpp"
#include <cstdint>
+#include "defines.hpp"
+
+class vkrenderer;
+
#if defined(LINUX)
#include <xcb/xcb.h>
@@ -35,6 +38,7 @@ class window {
static LRESULT CALLBACK window_procedure(HWND hwnd, UINT umsg, WPARAM wparam, LPARAM lparam);
HWND win_handle;
+ vkrenderer* renderer = nullptr;
uint32_t width;
uint32_t height;