W dniu wtorek, 8 stycznia 2013 20:53:49 UTC+1 użytkownik bob napisał:
>
> Yeah, I thought I remember something about 1.5 allowing you to do this.  
>
>
> But, I built it for 1.5, and it complains on the Nexus 7.
>
Because it's a bug and in fact a really bad one. GL take ownership of 
pointers passed to glXXXPointer (glVertexPointer, glTexCoordPointer and so 
on) functions. With indirect buffer pointer may become invalid after GC 
move data around VM heap, so in best case you will feed some invalid data 
to GL, worst case can probably lead to segmentation fault.

--
Bart

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