Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

666_1337

ATI_element_array

This topic is 5591 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi all... i''ve had an ati radeon 32 for a long time an programmed it... now i''ve bought myself a geforce 4 ti 4600 and am wondering why i''m not able to load it with ATI_element_array... void init(void) { ... glEnableClientState(GL_VERTEX_ARRAY); glEnableClientState(GL_ELEMENT_ARRAY_ATI); glArrayObjectATI(GL_VERTEX_ARRAY, 3, GL_FLOAT, sizeof(vertex_t), g_VertexObject, sizeof(float) * 5); glArrayObjectATI(GL_ELEMENT_ARRAY_ATI, 1, GL_UNSIGNED_INT, 0, g_uiElementObject, 0); ... } void display(void) { ... glDrawElementArrayATI(GL_TRIANGLES, g_NumTriangles * 3); ... } ... and it makes actually nothing. can anybody please help me?

Share this post


Link to post
Share on other sites
Advertisement
Maybe because it''s an ATI OpenGL extension and you''r new Hardware is from nVidia? And you should have posted this in the OpenGL forum - not in the DirectX forum

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!