Either I'm just being blind, or this method seems to be hidden
I'm guessing that the underlying Canvas likes to take care of this, but its not totally obvious.
I'm unsure of how the Animator class is actually useful - it seems to perform some voodoo with gldrawable.setNoAutoRedrawMode() to get a screen repaint, but I'm not sure. And i'm uneasy with letting the Animator control my main game loop - especially if i want to use Swing at the same time, its not obvious how best to use the two together.
Anyone else had a look at this?
Edit: Have a shufti at this:
public void display(GLDrawable canvas)
I tinkered around with matrix setups and a whole bunch of other initialisation, but to no avail. After looking at the Gears demo, I spot:
At the end of the drawing method. Commenting out my own glEnd produces the right output
What on earth is going on here?