0

I am new in OpenGL. I am using glut library in VC express edition on vista. I am getting runtime error of "access violation" on the following line

glClear(GL_COLOR_BUFFER_BIT);

Can I avoid this error somehow?

4

1 回答 1

0

对我来说设置project properties -> linker -> advanced -> data execution prevention解决/NXCOMPAT:NO问题。

于 2010-03-01T19:07:05.147 回答