Testrendertarget is magenta on iOS

Does anybody know why testrendertarget shows magenta on iOS, but works fine
on Android and Mac OS X?

Cheers!
–Sam

Okay, this is fixed for OpenGL ES 2.0:

That fix didn’t help with OpenGL ES 1.1, and I’m not sure why.On Sat, Jan 28, 2012 at 2:49 PM, Sam Lantinga <@slouken> wrote:

Does anybody know why testrendertarget shows magenta on iOS, but works
fine on Android and Mac OS X?

Cheers!
–Sam

Some time ago I remember getting strange errors when trying to render to a non-power-of-two textures.

So, (just guessing) I looked at testrendertarget.c, and saw that you are creating a render target textures with the window size, which is 640x480. Maybe you should look there?