Home › Forums › PowerVR Insider Graphics › Is glDeleteVertexArraysOES or glDeleteVertexArrays supported in Opengles2 library for Win32 ?
Tagged: opengl es 2.0
This topic contains 2 replies, has 2 voices, and was last updated by vikashamar 4 years, 10 months ago.
compiler giving error C3861: ‘glDeleteVertexArraysOES’: identifier not found or error C3861: ‘glDeleteVertexArrays’: identifier not found
its disabled in gl2ext.h… so what to do… ?
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");
thanks it was useful … If you have any example or link explaining it in more detail … Please add those also…