Set libRigid3D.a target to define DEBUG=1
for debug mode.
This will allow the library to throw errrors
from within when it finds OpenGL problems.