mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Small engine startup fix
This commit is contained in:
parent
56f055562d
commit
1c258828c3
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue