ScreenshotAppState.reshape

The reshape() - method in ScreenShotAppState (here ScreenshotAppState.java) looks like this:
[java]
public void reshape(ViewPort vp, int w, int h) {
outBuf = BufferUtils.createByteBuffer(wh4);
awtImage = new BufferedImage(w, h, BufferedImage.TYPE_4BYTE_ABGR);
}
[/java]
Why does it take a ViewPort as a parameter, since it does not use it?

Because the signature is defined in the interface for the callback?

Oh, alright, got it :slight_smile:
Thanks.