Код: Выделить всё
glxinfo | grep "OpenGL version"
Строка версии OpenGL: 3.3.0 NVIDIA 295.40
Но когда я запускаю glGetString(GL_VERSION) в своем приложении:
Код: Выделить всё
#include
#include
#include
#include
#include
#include
int main(int argc, char **argv) {
glutInit(&argc, argv);
glewInit();
printf("OpenGL version supported by this platform (%s): \n",
glGetString(GL_VERSION));
}
Подробнее здесь: https://stackoverflow.com/questions/121 ... ngl-versio
Мобильная версия