From 2dd61a4dcdfd63a83bbae7dfac30afd43cfa2109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 11 Dec 2013 13:12:53 +0100 Subject: [PATCH] Platform: fixed assertions. --- src/Platform/AbstractXApplication.cpp | 2 +- src/Platform/WindowlessGlxApplication.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Platform/AbstractXApplication.cpp b/src/Platform/AbstractXApplication.cpp index 20c33d53b..32bb5ea98 100644 --- a/src/Platform/AbstractXApplication.cpp +++ b/src/Platform/AbstractXApplication.cpp @@ -51,7 +51,7 @@ void AbstractXApplication::createContext(const Configuration& configuration) { } bool AbstractXApplication::tryCreateContext(const Configuration& configuration) { - CORRADE_ASSERT(!c, "AbstractXApplication::tryCreateContext(): context already created", ); + CORRADE_ASSERT(!c, "AbstractXApplication::tryCreateContext(): context already created", false); viewportSize = configuration.size(); diff --git a/src/Platform/WindowlessGlxApplication.cpp b/src/Platform/WindowlessGlxApplication.cpp index 357d9eae3..30c20b3cf 100644 --- a/src/Platform/WindowlessGlxApplication.cpp +++ b/src/Platform/WindowlessGlxApplication.cpp @@ -54,7 +54,7 @@ void WindowlessGlxApplication::createContext(const Configuration& configuration) } bool WindowlessGlxApplication::tryCreateContext(const Configuration&) { - CORRADE_ASSERT(!c, "Platform::WindowlessGlxApplication::tryCreateContext(): context already created", ); + CORRADE_ASSERT(!c, "Platform::WindowlessGlxApplication::tryCreateContext(): context already created", false); display = XOpenDisplay(nullptr);