Call prepare_quit() properly on SDL platform, and return a valid writeable directory
This commit is contained in:
parent
18bf9902e0
commit
cb93aaf83d
2 changed files with 4 additions and 2 deletions
|
@ -7,5 +7,5 @@ void prism::set_domain_path(const prism::domain domain, const prism::path path)
|
||||||
}
|
}
|
||||||
|
|
||||||
prism::path prism::get_writeable_directory() {
|
prism::path prism::get_writeable_directory() {
|
||||||
return "~";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
|
@ -349,6 +349,8 @@ int main(int argc, char* argv[]) {
|
||||||
engine->end_frame();
|
engine->end_frame();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
engine->prepare_quit();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue