Small engine startup fix
This commit is contained in:
parent
56f055562d
commit
1c258828c3
@ -36,7 +36,9 @@ using gui::GUI;
|
||||
|
||||
Engine::Engine(EngineSettings& settings, EnginePaths* paths, Content* content)
|
||||
: settings(settings), content(content), paths(paths) {
|
||||
Window::initialize(settings.display);
|
||||
if (Window::initialize(settings.display)){
|
||||
throw initialize_error("could not initialize window");
|
||||
}
|
||||
Shader::preprocessor->setLibFolder(paths->getResources()/path("shaders/lib"));
|
||||
|
||||
assets = new Assets();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user