So I have taken the plunge over to OpenGL ES 2.0 development, and I’m trying to set up a orthographic projection covering the entire screen, (320,480) in this case.
For some reason I only manage to get it to render in the upper right corner; i.e. it’s the full viewport - but in upper right quadrant of screen.
However; even doing so I get the same result - see attached picture. It seems it’s all rendered in full resolution but in top right quadrant. Could it be the way the viewport, or rendering context is set up perhaps?
What happens if you replace your viewport call by glViewport(0, 0, width , width*2); ?
Check actual values at runtime for width and height, they may not be what you expect.