glGetIntegerv怎么使用的啊???help me
见标题
[解决办法]
#include <iostream>
#include <gl/glut.h>
using namespace std;
int main(int argc, char *argv[])
{
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB | GLUT_DEPTH);
glutCreateWindow(argv[0]);
int fPtSize;
glPointSize(2);
glGetIntegerv(GL_POINT_SIZE, &fPtSize);
cout<<fPtSize<<endl;
system("pause");
return 0;
}