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. Security library error

Hi all,

I have the following error in my Android project:

- This is the instruction:
Security.addProvider( new )

- And this is the error:
com.sun cannot be resolved to a type

How can I solve it?

Many thanks


2. Research on Android Mobile Platform

I am V.Narasimha Reddy, working for Infiniti Research, a business
research and consulting company, headquartered in UK. Our Company
offers business research and consulting services to many of the
Fortune 1000 companies including Cisco, Ferrari and BP.

Presently, we are working on organizing a research study on various
mobile application platforms such as  Android etc,. Through this study
we will be focusing on understanding the application developer
perspective on various aspects of the platform including ease of use,
financial benefits, support, ease of marketing/commercializing
application and other such aspects. We are conducting this study,
keeping in mind that the developers are the most important part of the
mobile platform ecosystem. Hence, having developer views on the
platform and its support structure is an absolute must. Study is
expected to be launched during the next week of March, 2009.

Given your expertise in the field and your association with key mobile
application developer for mobile platforms, I request you to please
provide your views/opinions for our study on these platforms.

Please let me know what date/time suits you and I shall call you then.
An email conversation would also be a delight. I assure you it will
not take more than 15 - 20  minutes of your valuable time.
Looking forward to your reply.

Thanks in advance,

Kind Regards,

V Narasimha Reddy

Tel: +91 998 601 1749


3. shared Jar files between different project

4. Launch / Re-Launch flow

5. All SYMBIAN based end devices accept Java language Applications :: Need clarification

6. Bug in UK i18n?

7. Can we link Yahoo API classes with Android as GTalkService and other classes from Wireless package have been removed ?