Problem with glDrawElements(...);

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


Sponsored Links
 Hi,

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

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. The application has stopped unexpectedly. Please try again.





Print out the values of the strings just before you try to convert them,
then the value of what you get.
Why are you using Float to get a double value?

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 

2. Android Market woes... the press finally catch on



On the plus side, "Google declined to comment for this story, citing
the timing of its I/O conference next week."

And we've also seen that they are *finally* going to have 'feedback'
of some kind in the android developer console. I'm hoping for decent
analytics and the ability to respond to market 'reviews'.

-- 

3. WebView Horizontal Scroll Not Working

4. Android Emulator - Eclipse cannot see it

5. which android dev phone to buy? (preferably with keyboard)

6. ASK: Download manager utk android?

7. Installing apps on Zoom 2