This is sample code from the Apple and yet does not work correctly on the iPad simulator. I don't have an I've been trying to get it to work correctly on the iPad simulator. The image is offs开发者_StackOverflow中文版et to approx the center of the screen, but not exactly.
I found the problem. When using "Upgrade current target for iPad" the .xmb places the EAGLView at aprox (270,270). Setting it at (0,0) solves the problem.
精彩评论