[android-developers] Re: OpenGL - Works on Emulator, - Not on Phone

2011-03-18 Thread Terje Olsen
I forgot to say that the textures are all of power of 2. 2011/3/17 Terje Olsen : > Hello. > > I'm writing a simple game with OpenGL. > > I've been using the emulator to test it up until now, and it has > worked fine there. Today I deployed it to my phone, and some part

[android-developers] OpenGL - Works on Emulator, - Not on Phone

2011-03-18 Thread Terje Olsen
Hello. I'm writing a simple game with OpenGL. I've been using the emulator to test it up until now, and it has worked fine there. Today I deployed it to my phone, and some parts of the rendering was not working. I load textures with the following settings. gl.glTexParameterf(GL10.GL_TEXTURE_2D,

Re: [android-developers] Re: OpenGL texture display properly on my phone. But 'white box' on some device?

2011-03-18 Thread Terje Olsen
It seems like you are setting color to be completely transparent. Try setting alpha to 1.0 instead of 0.0? Also make sure that depth to -9 is visible. Quickly test with -1 for example. 17. mars. 2011 21.23 "Robert Green" : Debug the actual bitmap dimensions after you decode it. It could be getti