Hi Romain,
Thanks for your suggestion.
I'll need to use GL11Ext.drawTexiOES() to draw 2D image in OpenGL
context. I understand that we need to check the availablilty of GL
extension function before we use it. Do you know how to check the
ability? Using glGetString()?
Thanks,
hongkun
www.omnigsoft.com


On Mar 31, 4:12 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Yes, a cast is all you need.
>
>
>
>
>
> On Mon, Mar 31, 2008 at 1:09 PM, Toothy Bunny <[EMAIL PROTECTED]> wrote:
>
> >  Hi Android Graphics Team,
> >  I would like to call OpenGL extension function:
> >  void glDrawTexiOES(int x, int y, int z, int width, int height)
>
> >  to render a 2D image directly in 3D scene without bothering to use
> >  OpenGL quad.
>
> >  The question is, how can I get aGL11Extinstance? I could not find
> >  any function to do this.
> >  Does this means I can simply cast the instance returned by
> >  OpenGLContext.getGL() into aGL11Ext?
>
> >  Thanks,
> >  Hongkun
> >  www.omnigsoft.com
>
> --
> Romain Guywww.curious-creature.org- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to