diff --git a/src/Magnum/Platform/WindowlessEglApplication.cpp b/src/Magnum/Platform/WindowlessEglApplication.cpp index f96a13bd1..26c7a5f5f 100644 --- a/src/Magnum/Platform/WindowlessEglApplication.cpp +++ b/src/Magnum/Platform/WindowlessEglApplication.cpp @@ -166,7 +166,7 @@ WindowlessEglContext::WindowlessEglContext(const Configuration& configuration, G Error{} << "Platform::WindowlessEglApplication::tryCreateContext(): cannot get platform display for a device:" << Implementation::eglErrorString(eglGetError()); return; } - } + } else /* Otherwise initialize the classic way. WebGL doesn't have any of the above, so no need to compile that at all. */ #endif