Hi,
I'm currently doing a small test app using OpenGL, and to render text on top of the screen, I'm using glDrawTexiOES just like the LabelMaker sample class does in ApiDemos.
Of course, I've added the necessary <supports-screens> stuff in the manifest (everything set to "true") so that it sets the correct resolution.
On the emulator, everything works fine, but on the phone however, the text is offset and appears scaled.
I've found out that on the phone glDrawTexiOES uses different screen coordinates, so that the x coords are 0 to 800 instead of 0 to 854 like it should be, and that causes the text offset, however onSurfaceChanged() still reports a screen resolution of 854x480.
So how come glDrawTexiOES doesn't use the screen resolution as its coords like it should ?
Is there something i'm doing wrong, or is it a known issue ?
Also is there another way of doing this without using glDrawTexiOES ?
I can post code if anyone wants, though the bug also appears when running the ApiDemos sample on the phone (with correct <supports-screens>)...
for reference, the device is a Xperia X10 running android 1.6 (is that the issue ? i read that the 854x480 resolution is a android 2.0 thing :/)


