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.
精彩评论