Fixed OpenGL 1.5 support.
Merge pull request #1 from hstefan/master

Fixed OpenGL 1.5 support