mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix headless mode fatal error in some systems
This commit is contained in:
parent
618b3d7f61
commit
bcfcd9ca76
5 changed files with 11 additions and 11 deletions
|
|
@ -163,9 +163,9 @@ void Engine::initialize(CoreParameters coreParameters) {
|
|||
langs::locale_by_envlocale(platform::detect_locale())
|
||||
);
|
||||
}
|
||||
content = std::make_unique<ContentControl>(*project, *paths, *input, [this]() {
|
||||
onContentLoad();
|
||||
});
|
||||
content = std::make_unique<ContentControl>(
|
||||
*project, *paths, input.get(), [this]() { onContentLoad(); }
|
||||
);
|
||||
scripting::initialize(this);
|
||||
|
||||
if (!isHeadless()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue