健身房健身教练价格:舟--OpenGl编程的一个错误

来源:百度文库 编辑:神马品牌网 时间:2024/07/03 13:39:38
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)