Works for OpenGL3.2

stabil build on my MAC OpenGL 3.2