X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fsupertux%2Fmain.cpp;h=1cfba9c4cb753680fbf1a9134ed892e7744b16da;hb=b9f40748d04747d81cf79812a900e380d8f45c72;hp=d04eb5fb356b278cbaf3baf05ab55e6b2316d33e;hpb=0aab3bfe9a89f97ac42bfa614204e42c4cf1931f;p=supertux.git diff --git a/src/supertux/main.cpp b/src/supertux/main.cpp index d04eb5fb3..1cfba9c4c 100644 --- a/src/supertux/main.cpp +++ b/src/supertux/main.cpp @@ -306,8 +306,7 @@ Main::launch_game() timelog("video"); std::unique_ptr video_system = VideoSystem::create(g_config->video); - DrawingContext context(video_system->get_renderer(), - video_system->get_lightmap()); + DrawingContext context(*video_system); init_video(); timelog("audio"); @@ -326,7 +325,7 @@ Main::launch_game() Resources resources; timelog("addons"); - AddonManager addon_manager("addons", g_config->disabled_addon_filenames); + AddonManager addon_manager("addons", g_config->addons); timelog(0);