木乃伊2电影在线观看:舟--OpenGl编程的一个错误

来源:百度文库 编辑:中科新闻网 时间:2024/05/11 16:51:20
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)