diff --git a/src/Magnum/Platform/WindowlessGlxApplication.cpp b/src/Magnum/Platform/WindowlessGlxApplication.cpp index b9f014a0b..9e9a0dc76 100644 --- a/src/Magnum/Platform/WindowlessGlxApplication.cpp +++ b/src/Magnum/Platform/WindowlessGlxApplication.cpp @@ -142,6 +142,8 @@ WindowlessGlxContext::WindowlessGlxContext(const WindowlessGlxContext::Configura return; } } + #else + static_cast(magnumContext); #endif XFree(configs);