I modeled my sprite drawing on Grid.java and GLSprite.java from SpriteMethodTest,
using 2D OpenGl ES 1.0/1.1 on Android, but the "quad" sprite background shows when two
sprites overlap each other. I'm not using double buffering though, in onDrawFrame()
I just do a
gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
and the code in onSurfaceCreated() and onSurfaceChanged() and anywhere else is pretty much identical.
My texture images are single layer .png with a transparent background and are "even" sized. And all the bitmap texture loading gl code is the same. I compared my images with the ones from SpriteMethodTest, in Gimp, and they appear to have the same properties.
The display area is black and when the sprites overlap, the "quad" the texture is "on" is like a black square when it goes over another sprite.
What should I be looking for to try to fix it so that only the texture image is visible?
Thanks!