Can I guess that you're trying that on the emulator?

String extensions = gl.glGetString(GL10.GL_EXTENSIONS);
Log.i(TAG, "GL Extensions [" + extensions + "]");

Add that into your Renderer.onSurfaceCreated() so that you can see
what extensions are available on the platform you're developing for.
I recommend adding a method to check if point_sprite is supported in
that list and if so, use them, but if not, perhaps developing a Gl10
equivalent that is used for a backup is a good idea.

I do that for mipmaps.  If hardware support is there, I let it
generate them, otherwise I have a loop that creates and uploads them.

On Oct 5, 7:57 pm, Scott <[email protected]> wrote:
> Can someone confirm for me that point sprites are not currently
> supported in Android? Calling gl.glEnable(GL11.GL_POINT_SPRITE_OES) is
> triggering a GL_INVALID_ENUM error, so I assume this is the case, but
> I'd appreciate a confirmation before I proceed with an alternate
> design.
>
> Thank you,
> Scott
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to