Changed QByteArray to QVector to avoid that ugly reinterpret_cast.

Turned GLRenderer::pixelCapture to GLRenderer::screenCapture() which encapsulates screen capturing properly and returns a ready image.

Hardened the GLRenderer interface, made methods more private.

Cleanup GLRenderer::initializeAxes()

Removed GLRenderer::refresh(), update() does the job just as fine.

GLRenderer::drawVbos no longer needs to be told the GL type

(0) -1000 -300 -100 -30 -10 -6 +6 +10 +30 +100 tip

mercurial