fill texture buffer starting from upper right coordinate, u would find it right.
On Dec 29 2008, 5:33 am, Tom H <[email protected]> wrote: > Hello. I'm trying to map atextureon a surface, but it's showing up > inverted (upside down). It works correctly in WindowsOpenGL. Here > are the relevant code pieces: > > Bitmap b = BitmapFactory.decodeResource(getResources(), > R.drawable.myBitmap); > ... > android.opengl.GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, b, 0); > > I'm usingtexturecoordinates with the origin in the lower left > corner, like I should. > > The image resource is a PNG file which shows correctly in all image > viewers. Any ideas? > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

