OpenGL and Android Rendering problem


I am quite new to using OpenGL on the Android platform and having a problem when rendering a texture to the viewport.
The screen is being rendered but the texture (256*256) does not the same as the original jpg picture I uploaded.

Please find attached images and code for the render. One image is the original jpg and the other is screenshot that is the rendered texture on the android phone.
Any help? Thanks.


This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.