开发者

IPad OpenGL Es Application flickering

I have an opengl es application on my ipad w开发者_StackOverflow中文版hich is basically a paint application, uses pretty much the same code as glpaint, the sample from apple.

When I run it in the simulator, everything looks fine, the lines render properly etc. But when I put it onto the actual ipad, every time I touch the screen, the entire screen flickers as its updating, and the lines that i draw with my finger are dashed with holes in them unless I draw extremely slowly.

Any ideas?


You have to set the kEAGLDrawablePropertyRetainedBacking option to YES in CAEAGLLayer's drawableProperties property when initializing the GL view.

Reference: Apple Technical Q&A.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜