@Override public JCGLInterfaceGL2 makeNewGL() throws JCGLException, ConstraintError, JCGLUnsupportedException { final JCGLImplementation gi = LWJGLTestContext.makeContextWithOpenGL3_X(); final Option<JCGLInterfaceGL2> go = gi.getGL2(); if (go.isSome()) { final Some<JCGLInterfaceGL2> gs = (Option.Some<JCGLInterfaceGL2>) go; return gs.value; } throw new UnreachableCodeException(); }
@Override public boolean isSupported() { return LWJGLTestContext.isOpenGL21Supported(); }
@Override public Log getLog() { return LWJGLTestContext.getLog(LWJGLTestContext.LOG_DESTINATION_OPENGL_2_1); }