I'm pretty sure the problem is calling 'glGetString(GL_EXTENSIONS)' which has been deprecated in OpenGL 3.0 and removed in core profile 3.1. The correct approach is to (From OpenGL Forum):GLint n, i;glGetIntegerv(GL_NUM_EXTENSIONS, &n);for (i = 0; i < n; i++) { printf("%s\n", glGetStringi(GL_EXTENSIONS, i);} 这篇关于简单的OpenGL图像库(SOIL)使用不推荐使用的功能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-21 13:20