createS0ftware / angle

Automatically exported from code.google.com/p/angle
0 stars 0 forks source link

hidden size requirement for images #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Trying to use an image that isn't a 2-factorial size (128x128, 512x512, etc.) 
results in the image not showing up.

What version of the product are you using? On what operating system?
v1.0, on Win7, in Eclipse with the android plug-in.

Please provide any additional information below.
Not a dealbreaker, and Angle looks great so far!  Just thought other new people 
should be aware of this restriction, if it's intended.

Original issue reported on code.google.com by samuel.levine on 14 Sep 2010 at 8:15

GoogleCodeExporter commented 8 years ago
It's a hardware restriction. Some GPUs don't support textures that aren't power 
of 2.
If you can try your code in the emulator, it probably works.

BTW. You can use textures with different width and height (512x128, 64x1024, 
...)

Original comment by ipaju...@gmail.com on 16 Sep 2010 at 8:23