ATI_element_array
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?
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement