tmp
This commit is contained in:
parent
29280949a8
commit
752243c7e9
7 changed files with 40 additions and 40 deletions
|
|
@ -3,11 +3,7 @@
|
|||
|
||||
using namespace tp;
|
||||
|
||||
Application::Application() :
|
||||
mApplicationModule("Application", nullptr, nullptr, mModuleDeps) {
|
||||
mInitialized = mApplicationModule.initialize();
|
||||
if (!mInitialized) return;
|
||||
|
||||
Application::Application() {
|
||||
mWindow = Window::createWindow();
|
||||
|
||||
mDrawTimer.setDuration(1000.f / mDrawPerSecond);
|
||||
|
|
@ -83,7 +79,5 @@ void Application::drawFrame(Canvas* canvas) {
|
|||
}
|
||||
|
||||
Application::~Application() {
|
||||
if (!mInitialized) return;
|
||||
Window::destroyWindow(mWindow);
|
||||
mApplicationModule.deinitialize();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue