void viewDidInit ( CGRect bounds ) { defaultFramebuffer = gl . glGetInteger ( GL20 . GL_FRAMEBUFFER_BINDING ) ; if ( defaultFramebuffer == 0 ) throw new IllegalStateException ( "Failed to determine defaultFramebuffer" ) ; boundsChanged ( bounds ) ; }
called when our view appears