苔的读音:舟--OpenGl编程的一个错误

来源:百度文库 编辑:高考问答 时间:2024/05/04 22:06:44
error C2664: 'glutReshapeFunc' : cannot convert parameter 1 from 'void (int,int)' to 'void (__cdecl *)(int,int)'
None of the functions with this name in scope match the target type
请问以上错误是怎么回事?
主函数中: glutReshapeFunc(changeSize);
外面定义了函数:void CALLBACK changeSize(GLsizei w,GLsizei h)