[android-developers] How to convert a png file to a PaletteTexture?

2011-11-17 Thread Shawn Wang
Can somebody tell me how to a png file to a PaletteTexture? I did lots of research and found glCompressedTexImage2D, but it seems all the example shows how to generate the palette texture from some hard code numbers, not from a image file. Can someone show me a code snippet or a reference? Great

[android-developers] How to convert a png file to a PaletteTexture?

2011-11-17 Thread Shawn Wang
Can somebody tell me how to a png file to a PaletteTexture? I did lots of research and found glCompressedTexImage2D, but it seems all the example shows how to generate the palette texture from some hard code numbers, not from a image file. Can someone show me a code snippet or a reference? Great