On 15/01/2015 12:15, Gerd Hoffmann wrote: >> How would the opengl 3/4 version of >> > the above would look like? > Ok, scratch that one. Looks like this is a seriously non-trivial update > and my rusty opengl knowledge needs a major update for modern-style > opengl ...
Unless we want to support OpenGLES, which doesn't have glBegin/glEnd (you need to use vertex buffers IIRC, but I last played with OpenGL in 2008...), the old style is still fine. Even the latest OpenGL additions in GTK+ use glBegin(GL_QUADS). Paolo