debug.h is now always included and all calls should be made through GLCALL.
This backend is based on ideas of the old OpenGL backend, of the Android GL backend and of the iPhone GL backend.