protected synchronized boolean makeCurrent(Runnable initAction) throws GLException {
if (pendingOffscreenResize) {
if (pendingOffscreenWidth != width || pendingOffscreenWidth != height) {
if (hglrc != 0) {
destroy();
}
width = pendingOffscreenWidth;
height = pendingOffscreenHeight;
pendingOffscreenResize = false;
}
}
return super.makeCurrent(initAction);
}
pendingOffscreenWidth != height? A typo or an I looking at code way too late at night?