It looks like a bug. I'll forward your email to our engineer in charge of the GLES20 bindings.
On Thu, Feb 9, 2012 at 1:21 AM, Th Chan <[email protected]> wrote: > Hi, > > I'm trying to use the functions below from GLES20 in Android with API > level 14. Can someone shed some light on why the last argument is of > type "byte"? I checked the NDK equivalent and it's a char *. I checked > the official OpenGL ES API and it's a char *. I assume it should be a > String or char[] or CharBuffer or something? > > Am I missing something here? How do I use these functions? > > Thanks. > > glGetShaderSource(int shader, int bufsize, IntBuffer length, byte > source) > glGetActiveAttrib(int program, int index, int bufsize, IntBuffer > length, IntBuffer size, IntBuffer type, byte name) > glGetActiveUniform(int program, int index, int bufsize, IntBuffer > length, IntBuffer size, IntBuffer type, byte name) > > -- > 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 -- Romain Guy Android framework engineer [email protected] -- 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

