further development on rewrite

This commit is contained in:
itsmattkc
2019-06-17 16:05:51 -07:00
parent 9afbe92574
commit a468b3727d
314 changed files with 1504 additions and 147 deletions
+6 -6
View File
@@ -21,7 +21,7 @@
#include <QApplication>
#include <QSurfaceFormat>
#include "window/mainwindow/mainwindow.h"
#include "core.h"
int main(int argc, char *argv[]) {
// Create application instance
@@ -43,11 +43,11 @@ int main(int argc, char *argv[]) {
format.setProfile(QSurfaceFormat::CoreProfile);
QSurfaceFormat::setDefaultFormat(format);
// Create main window instance
olive::MainWindow w;
olive::core.Start();
// Show main window
w.showMaximized();
int exit_code = a.exec();
return a.exec();
olive::core.Stop();
return exit_code;
}