Ah cool.
I don’t get why the solution works then… Shouldn’t we technically be reading pixels from GL_BACK before calling Display.update(), since that’s where the game’s being rendered to?
game loop
render game
if screenshot requested
glReadBuffer(GL_FRONT) <-- wouldn't GL_BACK make more sense?
glReadPixels etc
Display.update()