mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Implement no-window mode for X11 and MacOS
Bonus: Homogeinize and improve OS::alert() for no-window mode
This commit is contained in:
parent
1a14551f1f
commit
3ec62c82a3
6 changed files with 96 additions and 16 deletions
|
|
@ -156,7 +156,7 @@ void OS_Unix::finalize_core() {
|
|||
|
||||
void OS_Unix::alert(const String &p_alert, const String &p_title) {
|
||||
|
||||
fprintf(stderr, "ERROR: %s\n", p_alert.utf8().get_data());
|
||||
fprintf(stderr, "ALERT: %s: %s\n", p_title.utf8().get_data(), p_alert.utf8().get_data());
|
||||
}
|
||||
|
||||
String OS_Unix::get_stdin_string(bool p_block) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue