diff --git a/src/DebugMarker.cpp b/src/DebugMarker.cpp index 490128344..e4ec3d21a 100644 --- a/src/DebugMarker.cpp +++ b/src/DebugMarker.cpp @@ -25,11 +25,16 @@ namespace Magnum { DebugMarker::MarkImplementation DebugMarker::markImplementation = &DebugMarker::markImplementationDefault; void DebugMarker::initializeContextBasedFunctionality(Context* context) { + /** @todo Re-enable when extension wrangler is available for ES */ + #ifndef MAGNUM_TARGET_GLES if(context->isExtensionSupported()) { Debug() << "DebugMarker: using" << Extensions::GL::GREMEDY::string_marker::string() << "features"; markImplementation = &DebugMarker::markImplementationDebugger; } + #else + static_cast(context); + #endif } void DebugMarker::markImplementationDefault(const std::string&) {} @@ -41,6 +46,8 @@ void DebugMarker::markImplementationDebugger(const std::string& string) { #else #if 0 glInsertEventMarkerEXT(string.length(), string.c_str()); + #else + static_cast(string); #endif #endif }