aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 7637a5b..1290268 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,11 +1,9 @@
-#include "Core/Window.h"
+#include "Core/Application.h"
int main()
-{
- Donut::Window window("Donut", 1280, 720);
-
- while (!window.ShouldClose())
- {
- window.OnUpdate();
- }
+{
+ Donut::Application* app = new Donut::Application() ;
+ app->Run();
+ delete app;
+ return 0;
} \ No newline at end of file