Problem with glDrawElements(...);

by Gowthama Venkatesh V T » Thu, 14 Oct 2010 01:35:43 GMT

Sponsored Links

I am using glDrawElements(GL20ES.GL_TRIANGLES, vertexCount,
GL20ES.GL_UNSIGNED_SHORT, 0); to draw triangles and drwaing was

But when I use GL20ES.GL_UNSIGNED_INT instead of
GL10.GL_UNSIGNED_SHORT drawing failed.

Does glDrawElements supports GL_UNSIGNED_INT?.
If not how to handle unsigned int (GL_UNSIGNED_INT)?.


Other Threads

1. mac layout issues (part 2).

Here's a few more mac layout editor issues:

1. layout width and height aren't accepted.  They immediately switch
to blank values when I enter them in the properties box.
2. layout is not accurate.  When I enter a width and height in the XML
editor, the layout doesn't appear correctly.
3. properties don't refresh properly.  When you click on an item in
the view, the properties list goes blank.

If nobody else has seen this, I'll start filing bugs.



2. SDK & AVD Manager Docs for setting up repository?

I'm new to the group and just looking for some information on
publishing our own repository that the SDK manager can access.
We're looking to distribute the following:

- custom platform based stock android
- addon library
- images for custom emulator
- offline docs
- sample code

I've been able to piece a few things together from looking at the
structure of the repository.xml file at,
but I wonder if there is any formal docs that I can look at that would
help us to understand what we need to put in place. Specifically, I
noticed that the 'About' info on the SDK Manager for Revision 8
references the following:

Add-on XML Schema #1
Repository XML Schema #3

Can someone fill in the blanks her (or point me in the right direction
at least ;) )

Many thanks.


3. tanya aturan jika beli aplikasi

4. Boot-Loader support?

5. Playing an RTSP feed

6. Questions about Google Navigation availability

7. Code for house ads?