Remove OpenGL wrappers, render directly in C.

Not yet working for some reason, renders just an empty image.
Add glFinish()
Finally make it working, made a stupid mistake.

(Shouldn't code when it's late night probably...)