示例#1
0
        protected override void dispose(bool disposeManagedResources)
        {
            if (!IsDisposed)
            {
                if (disposeManagedResources)
                {
                }

#if !AXIOM_NO_GLES2_VAO_SUPPORT
#if GL_OES_vertex_array_object
                LogManager.Instance.Write("[GLES2] Deleting VAO {0}.", _vao);
                GL.DeleteVertexArraysOES(1, &_vao);
                GLES2Config.CheckError(this);
#endif
#endif
            }
            base.dispose(disposeManagedResources);
        }