Archxiao
Archxiao

Reputation: 199

Android tutorials for OpenGL with API level 10

I am currently trying to learn how to use OpenGLes in Android, but all of the tutorials I have found do not use API level 10. (i.e. Gingerbread/2.3)

EDIT: Well, at least they say they use it, but when I build it gives me errors as if it isn't there...

They require EGLConfig in setting the renderer and surface. Example:

public void onSurfaceCreated(GL10 gl, EGLConfig config)...

Taken from this tutorial.

Would anyone know a solution to this, or a reference to a tutorial that does this?

Upvotes: 1

Views: 208

Answers (1)

Dave Newton
Dave Newton

Reputation: 160301

AFAIK EGLConfig has been there since Level 1, no? That's a really old tutorial, though.

Maybe something more recent like this one?

Upvotes: 1

Related Questions