ios opengles with c++