Access violation error when using oversaturation

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

glClear(GL_COLOR_BUFFER_BIT);

Is there any way to avoid this error?

0


a source to share


1 answer


For me, setting project properties -> linker -> advanced -> data execution prevention

to not /NXCOMPAT:NO

solved the problem.



0


a source







All Articles