Hello,
I am trying to get gluTessCallback to start working, but every time I try to execute my program it keep giving me an error that looks like this:
error C2664: ‘gluTessCallback’ : cannot convert parameter 3 from ‘void (unsigned int)’ to ‘void (__stdcall *)(void)’
Has anyone had this problem before, and is there a way to fix it?
Edit: I also have this in my code.
#include <GL/glu.h>
#pragma comment( lib, “glu32.lib”)gluTessCallback(tobj, GLU_TESS_BEGIN, glBegin);
gluTessCallback(tobj, GLU_VERTEX, glVertex2fv);
gluTessCallback(tobj, GLU_END, glEnd);
- VC6-OGL
[This message has been edited by VC6-OGL (edited 01-20-2003).]