I'm programming OpenGL 1.1 ES in Android, i.e. using fixed pipeline.

I'm using glGenTextures and glGenBuffers, which return an index in array (I use them only for one texture/buffer at a time)....