From 370f1bf7e321cb32584685ce5d0ed7ff124163b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 23 Jan 2014 23:12:53 +0100 Subject: [PATCH] Hide yet-unused private function on ES. --- src/Magnum/DebugMessage.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Magnum/DebugMessage.cpp b/src/Magnum/DebugMessage.cpp index f63166b0d..7be007f5c 100644 --- a/src/Magnum/DebugMessage.cpp +++ b/src/Magnum/DebugMessage.cpp @@ -36,12 +36,15 @@ namespace Magnum { namespace { +/** @todo Re-enable when extension wrangler is available for ES */ +#ifndef MAGNUM_TARGET_GLES #ifdef CORRADE_TARGET_WINDOWS APIENTRY #endif void callbackWrapper(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, const void* userParam) { Context::current()->state().debug->messageCallback(DebugMessage::Source(source), DebugMessage::Type(type), id, DebugMessage::Severity(severity), std::string(message, length), userParam); } +#endif void defaultCallback(const DebugMessage::Source source, const DebugMessage::Type type, const UnsignedInt id, const DebugMessage::Severity severity, const std::string& string, const void*) { switch(severity) {