hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-08-09 21:07:53 +0200
committerhachem <im@hachem.wtf>2025-08-09 21:07:53 +0200
commitd6b9f6c8fad3e46caca5dc167ce1cbf5ccfb489e (patch)
tree82beb7d9b23a6040f78098cf235a8668d95a7e3c /src/main.cpp
parentc88a9da20bb43287b9c52bdc180fd356fd1d352c (diff)
feat: window creation
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100644
index 0000000..c6bbd94
--- /dev/null
+++ b/src/main.cpp
@@ -0,0 +1,11 @@
+#include "core/window.h"
+
+int main()
+{
+ Donut::Window window("Donut", 1280, 720);
+
+ while (!window.should_close())
+ {
+ window.on_update();
+ }
+}