http://stackoverflow.com/questions/17923782/simple-opengl-image-library-soil-uses-deprecated-functionality
https://www.opengl.org/sdk/docs/man3/xhtml/glGetString.xml
GL_EXTENSIONS has been deprecated as a paremeter to glGetString. All calls to glGetString( GL_EXTENSIONS ) fail under OpenGL 3+ with error GL_INVALID_ENUM. This breaks all query_x_capability functions... which breaks most of SOIL.
Apparently, the correct approach is now to iterate over and compare each extension substring using glGetStringi( GL_EXTENSIONS, i ).
http://stackoverflow.com/questions/17923782/simple-opengl-image-library-soil-uses-deprecated-functionality
https://www.opengl.org/sdk/docs/man3/xhtml/glGetString.xml
GL_EXTENSIONShas been deprecated as a paremeter toglGetString. All calls toglGetString( GL_EXTENSIONS )fail under OpenGL 3+ with errorGL_INVALID_ENUM. This breaks all query_x_capability functions... which breaks most of SOIL.Apparently, the correct approach is now to iterate over and compare each extension substring using
glGetStringi( GL_EXTENSIONS, i ).