From 05684c552fa45a81030d3aa755374e135f05b4f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 18 Jun 2016 21:24:43 +0200 Subject: [PATCH] Platform: fix warning in desktop GLES build. --- src/Magnum/Platform/WindowlessGlxApplication.cpp | 2 ++ 1 file changed, 2 insertions(+) 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);