Hi guys, I am trying to compile the red book’s
example of tessellation but I keep getting errors like with this code
gluTessCallback(tobj, GLU_TESS_BEGIN, glBegin);
error: invalid conversion from ‘void (*)(GLenum)’ to ‘void (*)()’
Doesn’t glBegin have the exact function prototype that gluTessCallback is supposed to accept when we use GLU_TESS_BEGIN ?