After i compile my c++ program(in VC.NET and VC6), i get 2 errors,
codes:
gluTessCallback(tess, GLU_BEGIN, glBegin);
gluTessCallback(tess, GLU_VERTEX, glVertex3dv);
errors:
:error C2664: ‘gluTessCallback’ : cannot convert parameter 3 from ‘void (unsigned int)’ to 'void (__stdcall *)(void)'None of the functions with this name in scope match the target type
:error C2664: ‘gluTessCallback’ : cannot convert parameter 3 from ‘void (const double *)’ to 'void (__stdcall *)(void)'None of the functions with this name in scope match the target type
Please help me!