Hello to all. I have a project that uses calls to OpenGL, in particular, I'm:
Qt Code:
  1. static GLUtesselator *tobj = NULL;
  2. tobj = gluNewTess();
  3. gluTessCallback(tobj, GLU_TESS_VERTEX, (GLvoid (*) ()) &glVertex3dv);
  4. ...
To copy to clipboard, switch view to plain text mode 
compiling I get this error message:
Qt Code:
  1. C:\Qt\progetti\AreaRobot\blockgroup.cpp:187: error: invalid conversion from 'GLvoid (*)() {aka void (*)()}' to '_GLUfuncptr {aka void (*)()}' [-fpermissive]
To copy to clipboard, switch view to plain text mode 
I do not know how I can correct the error, can you help me ?