升级opengl

有时候用GLFW创建窗口会返回NULL,
原因一般是oepngl版本过低

GLFWwindow *window = glfwCreateWindow(800, 600, "LearnOpenGL", NULL, NULL);
	if (window == NULL) {
		cout << "Failed to create GLFW window" << endl;
		glfwTerminate();
		system("pause");
		return -1;
	}

下载安装OpenGL Extension Viewer,即可查看OpenGL版本
https://opengl-extensions-viewer.en.softonic.com/

在这里插入图片描述
如何升级opengl?升级显卡驱动即可。
下载鲁大师,检测驱动更新,搞定(小编尝试过驱动人生、驱动精灵,都安装显卡驱动失败)

在这里插入图片描述

在这里插入图片描述

欢迎联系、指正、批评

Github:https://github.com/AnJiaoDe

CSDN:https://blog.csdn.net/confusing_awakening

OpenCV入门教程:https://blog.csdn.net/confusing_awakening/article/details/113372425

ffmpeg入门教程:https://blog.csdn.net/confusing_awakening/article/details/102007792

微信公众号
这里写图片描述

QQ群

这里写图片描述


版权声明:本文为confusing_awakening原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。