aboutsummaryrefslogtreecommitdiff
path: root/src/core/application.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/application.h')
-rw-r--r--src/core/application.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/application.h b/src/core/application.h
index bb88919..3c24ee8 100644
--- a/src/core/application.h
+++ b/src/core/application.h
@@ -69,6 +69,10 @@ namespace Donut
bool m_running = true;
bool m_minimized = false;
+ // kept for rebuilding the window when Vulkan fails and we retry on OpenGL
+ std::string m_title;
+ int m_init_w = 1280, m_init_h = 720;
+
static Application* s_instance;
};
}