Imagination PowerVR SDK Blog

Is glDeleteVertexArraysOES or glDeleteVertexArrays supported in Opengles2 library for Win32 ?


#1

compiler giving

error C3861: ‘glDeleteVertexArraysOES’: identifier not found

or

error C3861: ‘glDeleteVertexArrays’: identifier not found



its disabled in gl2ext.h…

so what to do… ?


#2

Hi Vikashamar



glDeleteVertexArrays is core in ES 3.0, but in ES 2.0 you’ll need to check the extension string for OES_vertex_array_object and aquire a pointer to the function via eglGetProcAddress, e.g.



PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES = (PFNGLDELETEVERTEXARRAYSOESPROC) eglGetProcAddress(“glDeleteVertexArraysOES”);


#3

thanks it was useful …

If you have any example or link explaining it in more detail …

Please add those also…



Thanks