diff options
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/main.cpp b/src/main.cpp index c6bbd94..2578eb2 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.should_close()) - { - window.on_update(); - } +{ + Donut::Application* app = new Donut::Application() ; + app->run(); + delete app; + return 0; } |
