use glDebugMessageCallbackARB to trace gl errors