I\'m trying to detect the opengl object under the cursor... I have read it referred to as picking. Here is my code:
public int makeBuffer(GL10 gl, int x, int
I also faced similar issues when creating an openGL ES app on android.
My workaround so far was to change the app from RGB565 to RGBA8888. Insert these lines before setting the renderer:
getHolder().setFormat(PixelFormat.RGBA_8888);
setEGLConfigChooser(8, 8, 8, 8, 0, 0);
You must be aware that this solution will only work on devices that support RGBA8888.