Android and OpenGL: can't call glGetString(..) -
would please explain problem simple code determining opengl extensions :
string extensions = javax.microedition.khronos.opengles.gl10.glgetstring(gl10.gl_extensions);
if put in code, i'm getting error:
"cannot make static reference non-static method glgetstring(int) type gl10"
so doesn't compile.
i'm using adt 22.6.1
, sdk 22.6.1
. project doesn't create opengl
-related classes, gets info.
thanks
you can data gl10 object, example: http://developer.android.com/reference/android/opengl/glsurfaceview.renderer.html#onsurfacecreated(javax.microedition.khronos.opengles.gl10, javax.microedition.khronos.egl.eglconfig)
Comments
Post a Comment