Hey all,
I've got a problem which only occurs when running on the iPod Touch 2nd Gen. It works fine on the iPhone 3GS.
I'm using a slightly modified MutableTexture2D class from http://www.cocos2d-iphone.org/forum/topic/2449 . I've got two instances of those where I copy part of the stored texture data from one texture to another texture. Each texture has an associated AtlasSpriteManager that is used in game. Everything looks hunky dory on the iPhone 3GS but on the iPod Touch 2nd gen the AtlasSprites that use the new part of the texture appear all white with the error message "OpenGL error 0x0501 in -[EAGLView swapBuffers]" showing up in the console.
This is the (GL_INVALID_VALUE, Numeric argument out of range) error. OpenGL is not a strong point for me and I don't have a clue where to go next.
I'm using cocos 0.8.1.
Any help would be much appreciated!