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?
For me, setting project properties -> linker -> advanced -> data execution prevention to not /NXCOMPAT:NO solved the problem.
project properties -> linker -> advanced -> data execution prevention
/NXCOMPAT:NO