Skip to content
Snippets Groups Projects
Commit 2457c454 authored by Julien Malik's avatar Julien Malik
Browse files

BUG: do not throw inside a C callback

parent 00ab8a7b
No related branches found
No related tags found
No related merge requests found
......@@ -172,7 +172,8 @@ private:
static void CALLBACK TesselationErrorCallback(GLenum errorCode)
{
const GLubyte * estring = gluErrorString(errorCode);
itkGenericExceptionMacro(<< "Glu Tesselation error: " << estring);
otbMsgDevMacro(<< "Glu Tesselation error: " << estring);
estring = 0; // avoid unused variable warning
}
// Static begin callback for tesselation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment