From 686dab729af0fb329fb0381d294471a763d4505d Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Sat, 3 Mar 2018 20:50:50 +0100 Subject: [PATCH] Remove ALLEGRO_RENDER_METHOD sanity check See liballeg/allegro5#887 --- src/libsuperderpy.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/libsuperderpy.c b/src/libsuperderpy.c index 2726720..e25a6bb 100644 --- a/src/libsuperderpy.c +++ b/src/libsuperderpy.c @@ -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")));