开发者

OpenGLContext not found in android extends SurfaceView class

I am creating game.

I am just beginner in game I have some demos.

But i just face the problem when I want to object of Open开发者_C百科GLContext.

Here is my code:

public class GLView extends SurfaceView implements SurfaceHolder.Callback
    {
    private OpenGLContext ctx;
    private Tunnel3D      tunnel;

at OpenGLContext I got the error.

what should I do?


OpenGLContext is outdated. You should do what I wrote in this answer.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜