diff --git a/src/Magnum/Platform/WindowlessEglApplication.cpp b/src/Magnum/Platform/WindowlessEglApplication.cpp index 1eb1154b3..9fca277c9 100644 --- a/src/Magnum/Platform/WindowlessEglApplication.cpp +++ b/src/Magnum/Platform/WindowlessEglApplication.cpp @@ -578,7 +578,9 @@ bool WindowlessEglApplication::tryCreateContext(const Configuration& configurati Configuration mergedConfiguration{configuration}; #ifndef MAGNUM_TARGET_WEBGL if(!mergedConfiguration.device()) - mergedConfiguration.setDevice(_commandLineDevice).setCudaDevice(_commandLineCudaDevice); + mergedConfiguration + .setDevice(_commandLineDevice) + .setCudaDevice(_commandLineCudaDevice); #endif WindowlessEglContext glContext{mergedConfiguration, _context.get()};