glFramebufferTexture2D fails on iPhone for certain texture sizes
问题 When I try to attach a texture to a framebuffer, glCheckFramebufferStatus reports GL_FRAMEBUFFER_UNSUPPORTED for certain texture sizes. I've tested on both a 2nd and 4th generation iPod Touch. The sizes of texture that fail are not identical between the two models. Here are some interesting results: 2nd generation - 8x8 failed, 16x8 failed, but 8x16 succeeded! 4th generation - 8x8 succeeded, 8x16 succeeded, but 16x8 failed! Here's some code I used to test attaching textures of different sizes