Updated func params to match new JOGL version.