Sounds like an old error Ism prints when X fails to create a GL context.
Affirmative, the error is from
XLIBmain.cpp; it's thrown when a call to
glXChooseVisual fails. Try removing
GLX_DEPTH_SIZE, 24, and running it. If that works, it means Pi doesn't support a depth buffer.