Is glDeleteVertexArraysOES or glDeleteVertexArrays supported in Opengles2 library for Win32 ?

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  vikashamar 4 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31071

    vikashamar
    Member

    compiler giving
    error C3861: ‘glDeleteVertexArraysOES’: identifier not found
    or
    error C3861: ‘glDeleteVertexArrays’: identifier not found

    its disabled in gl2ext.h…
    so what to do… ?

    #36392

    chris
    Moderator

    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");

    #36393

    vikashamar
    Member

    thanks it was useful …
    If you have any example or link explaining it in more detail …
    Please add those also…

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.