[android-developers] Re: opengl es texture created from bitmap is all white?

2009-02-18 Thread Jon Colverson
On Feb 18, 6:03 am, Rye ryeterr...@gmail.com wrote: mOverlay = Bitmap.createBitmap((int)mWidth, (int)mHeight, ... c.drawCircle(160, 240, 10, p); Are mWidth and mHeight powers of two? Non-power of two textures are supported on the emulator but not on the accelerated GL driver on the Dream (G1

[android-developers] Re: opengl es texture created from bitmap is all white?

2009-02-17 Thread Romain Guy
Why are you using the ARGB_ mode? On Tue, Feb 17, 2009 at 10:03 PM, Rye ryeterr...@gmail.com wrote: All the textures I create from my resource files are fine, but when I create a texture in the following way... code mOverlay = Bitmap.createBitmap((int)mWidth, (int)mHeight,

[android-developers] Re: opengl es texture created from bitmap is all white?

2009-02-17 Thread Rye
I've tried the mode as well, but the mode was the one used in the sprite text example. On Feb 18, 12:05 am, Romain Guy romain...@google.com wrote: Why are you using the ARGB_ mode? On Tue, Feb 17, 2009 at 10:03 PM, Rye ryeterr...@gmail.com wrote: All the textures I create