I have been using the
glDrawTexf extension to draw labels in my Android app using OpenGL ES 1.1.
But I have now moved to OpenGL ES 2.0 and can't figure out what is the equivalent of this call? I could create triangles to hold the texture and draw it like a regular texture. But the
glDrawTexf was very convenient:
- It didn't require any triangles/quads to be setup.
- You could give it screen co-ordinates.
- You could specify cropping parameters to pick smaller areas from a large texture.