rendering UIImage with size > 1024 with OpenGL ES 2.0 on the iPhone <p>I'm capturing a full resolution UIImage on the iPhone 4 (1936X2592)<br> then i'm scaling it to a square of size 1936x1936.</p> <p>now i need to load this image into a texture and let OpenGL render it with some GLSL.</p> <p>problem is OpenGL only supports power of 2 texture sizes and only up to 1024.</p> <p>so how do i solve this?</p> <p>Thank You.</p> <p>EDIT: my question is irrelevant, i target 3GS and up and it supports 2048x2048 image size. my problem is another question: <a href="http://stackoverflow.com/questions/8068463/camera-frame-to-uiimage-to-opengl-rendering-gives-an-odd-image-attached">Camera frame to UIImage to OpenGL rendering gives an odd image (attached)</a></p>