Browse Source

Hide yet-unused private function on ES.

pull/51/head
Vladimír Vondruš 12 years ago
parent
commit
370f1bf7e3
  1. 3
      src/Magnum/DebugMessage.cpp

3
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) {

Loading…
Cancel
Save