mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-07 21:56:44 +01:00
init: set app name as window title by default
This commit is contained in:
parent
b60bcfda54
commit
05c75a9437
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ SYMBOL_EXPORT struct Game* libsuperderpy_init(int argc, char** argv, const char*
|
|||
al_set_new_window_position(20, 40); // workaround nasty Windows bug with window being created off-screen
|
||||
#endif
|
||||
|
||||
al_set_new_window_title(game->name);
|
||||
al_set_new_window_title(al_get_app_name());
|
||||
game->display = al_create_display(game->config.width, game->config.height);
|
||||
if (!game->display) {
|
||||
fprintf(stderr, "Failed to create display!\n");
|
||||
|
|
Loading…
Reference in a new issue