xcode openGL API compiled in real time