The device requires the textures to be sizes in the power of 2.
e.g. 64x64, 128x128, 256x256 etc
you can have 64x128 etc too

On Jul 23, 6:24 am, Thiago Assis <[email protected]> wrote:
> Texture appears white in the real device but not in the emulator
>
> Hello fellows,
>   I’ve already tried to find the solution in other POSTS but none of
> the solutions worked.
>   The problem that I have is that the loaded texture not displayed in
> the real device (G1, firmware 1.5). If I turn of the texture and put a
> color in the geometry, it works fine.
>   Details: the file that I’m loading has width and height power of 2.
> And I tried with .bmp and .png  files, for both I had the same
> problem.
>         Let me know if you know what is going wrong and what I should do.
>         My code works fine in the emulator but not in the real device. (This
> is a simple code that I’ve done months ago, so I’m using this is a
> reference to find the problem.)
>         Thanks a lot for your attention.
>         Best regards,
>
> Assis
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to