mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-04 16:28:00 +01:00
parent
e29c8971b5
commit
686dab729a
1 changed files with 0 additions and 6 deletions
|
@ -199,12 +199,6 @@ SYMBOL_EXPORT struct Game* libsuperderpy_init(int argc, char** argv, const char*
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if (!al_get_display_option(game->display, ALLEGRO_RENDER_METHOD)) {
|
||||
FatalError(game, true, "Failed to create hardware accelerated display.");
|
||||
al_destroy_display(game->display);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
PrintConsole(game, "Viewport %dx%d", game->viewport.width, game->viewport.height);
|
||||
|
||||
ALLEGRO_BITMAP* icon = al_load_bitmap(GetDataFilePath(game, GetGameName(game, "icons/%s.png")));
|
||||
|
|
Loading…
Reference in a new issue