错误:OpenGL header already included, remove this include, glad already provides it
解决办法:#include <glad/glad.h> //头文件的包含顺序不要反,先是glad再是glfw
#include <GLFW\glfw3.h>
OpenGL常见错误
最新推荐文章于 2024-05-10 11:22:30 发布
错误:OpenGL header already included, remove this include, glad already provides it
解决办法:#include <glad/glad.h> //头文件的包含顺序不要反,先是glad再是glfw
#include <GLFW\glfw3.h>