On Fri, Jan 22, 2010 at 1:25 PM, Lance Nanek <[email protected]> wrote:
> http://khronos.org/opengles/documentation/opengles1_0/html/glDrawElements.html

Ok, so the Kronos API docs have the fourth parameter glDrawElements()
as a void pointer, and then the Android SDK has it as a Buffer.  But
what kind of Buffer?  I tried using a FloatBuffer and got a segfault.
And why wouldn't a simple float[] work there?  These are the kinds of
questions/problems I'm having.

In general, what do I use to connect the dots from the documented
Kronos C API to the undocumented Android/Java API?  Trial and error is
not something I favor.


-- 
Greg Donald
destiney.com | gregdonald.com

-- 
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