https://github.com/matusnovak/rpi-opengl-without-x
https://github.com/matusnovak/rpi-opengl-without-x/blob/master/triangle.c
ubuntu编译:
gcc -o triangle triangle.c -lEGL -lGL
运行:
./triangle
输出到 triangle.raw
离线
这个不错,点赞楼主!
离线
https://learnopengl.com/Getting-started/Hello-Triangle
OpenGL 经典 Demo
离线