don't call swapBuffers() in PGraphicsOpenGL.dispose() for offscreen
surfaces.