svenpilz/egl_offscreen_opengl

Excellent work!

ALLinLLM opened this issue · 0 comments

This repo is what i want!

I'm new to OpenGL. I wrote a program using freeglut api to draw a triangle and save the screen as a .png file with certain view.

At first, it works on my own PC. But when I try to run it on an Amazon EC2 instance, it failed to create a opengl context.

After search on google, egl is the solution, but it's really hard to find a runnable code. Then I found this repo! Thanks for sharing such a runnable and commented demo to us!