Simple code for converting opengl enum to string.