From 7cb8f86f986135a8c80970f35d9dcd951c313e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 16 Sep 2023 12:23:00 +0200 Subject: [PATCH] Platform: remove a TODO for "proper SDL2 support" in Emscripten. There is one already, and I'm not going to use because it's bloated. Plus there's EmscriptenApplication that doesn't have to pay for the extra overhead of wrapping HTML5 APIs in SDL APIs. --- src/Magnum/Platform/Sdl2Application.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Magnum/Platform/Sdl2Application.cpp b/src/Magnum/Platform/Sdl2Application.cpp index cd63432c2..d8dcdcbfe 100644 --- a/src/Magnum/Platform/Sdl2Application.cpp +++ b/src/Magnum/Platform/Sdl2Application.cpp @@ -482,7 +482,6 @@ bool Sdl2Application::tryCreate(const Configuration& configuration, const GLConf SDL_GL_SetAttribute(SDL_GL_FRAMEBUFFER_SRGB_CAPABLE, glConfiguration.isSrgbCapable()); #endif - /** @todo Remove when Emscripten has proper SDL2 support */ #ifndef CORRADE_TARGET_EMSCRIPTEN /* Scale window based on DPI */ _dpiScaling = dpiScaling(configuration);