Hello,

some elements of my game draw untextured quads and lines.
To optimize the game, i switched 2d texture rendering from glDrawArrays
() to glDrawTexiOES(), which noticeably raised the frame rate but also
caused all untextured quads/lines (which still utilize glDrawArrays)
to no longer be rendered at all.
Through some testing i've noticed that the untextured elements can be
drawn together with glDrawTexiOES(), but only if at least one textured
element was prior drawn by glVertexPointer(), glTexCoordPointer() and
glDrawArrays().
Once any textured quad was drawn through glDrawArrays() i can
completly switch to glDrawTexiOES() and all untextured quads/lines are
drawn.

Now my questions are, is this a known behaviour? or am i doing
something wrong? or could this be a bug in the G1? (The problem does
not appear on the emulator)

Please let me know if you have any advice. Thanks,
Mike.

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