trananh1992 / angle

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

The dimensions of the images to use need to be power of 2... #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a simple Angle Sprite using any image of 128x130 pixels
2. Run

What is the expected output? What do you see instead?
The image of the Screen, but what i see is a white rectangle with the same 
dimensions of the image.

What version of the product are you using? On what operating system?
Angle v1.0. Android 2.2.

Please provide any additional information below.
Testes on Nexus One.

Looking at the logCat i can see the error "load Image2D GLError: 1281", is this 
a limitation of OpenGL? Is there a work around?

Original issue reported on code.google.com by mym2...@gmail.com on 12 Aug 2010 at 2:12

GoogleCodeExporter commented 8 years ago
It isn't an OpenGL limitation. It's caused by hardware graphics. Some GPUs 
doesn't support textures of width or height that aren't power of 2.

Original comment by ipaju...@gmail.com on 19 Aug 2010 at 7:11