Hi. Thank you for your reply.
Actually I've done as you suggested. Here's my full onSurfaceCreated()
and my activity's onPause():
public void onSurfaceCreated(GL10 gl, EGLConfig config) {
frontTextureId = loadTexture(gl, frontTextureBitmap);
gl.glEnable(GL10.GL_TEXTURE_2D);
I don't see gl.glEnableClientState(GL10.{GL_VERTEX_ARRAY,
GL_TEXTURE_COORD_ARRAY}) in your code.
Also don't forget to call GLSurfaceView's onPause() and onResume()
methods (in corresponding Activity methods).
Dmitry
On Aug 11, 11:42 am, alucard20004 wrote:
> I took the source from API demos (
2 matches
Mail list logo