• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps openGL blenging - htc desire

monnti

Lurker
Dec 22, 2010
5
0
HI,

I have a problem with my htc desire...

When i try to display a transparent object it doesn't work and i'm getting a completely visible one. But if i do the same with the emulator everything works fine...


I am useing openGL for the visualisation:

gl.glEnable(GL11.GL_BLEND);
gl.glBlendFunc(GL11.GL_SRC0_ALPHA, gl.GL_ONE_MINUS_SRC_ALPHA);
gl.glColor4f(1, 0.2f, 0, 0.7f);
gl.glEnableClientState(GL11.GL_TEXTURE_COORD_ARRAY);
gl.glVertexPointer(3, GL11.GL_FLOAT, 0, vertices);
gl.glDrawArrays(GL11.GL_TRIANGLES, 0, 3);

someone has an idea??
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones