Set EAGLContext.currentContext before each set of GL calls.