fix(jogl): removed getGL2() for some GL calls