On branch ios_port (temp)

- temporary check in for debugging source of a GL error
Port paper3d to iOS

- fixed the GL_INVALID_OPERATION bug caused by forgetting binding render buffer before present