diff --git a/src/Magnum/Mesh.cpp b/src/Magnum/Mesh.cpp index 3db838837..250a7f0bd 100644 --- a/src/Magnum/Mesh.cpp +++ b/src/Magnum/Mesh.cpp @@ -251,6 +251,9 @@ void Mesh::createImplementationVAO() { /** @todo Get some extension wrangler instead to avoid linker errors to glGenVertexArrays() on ES2 */ #ifndef MAGNUM_TARGET_GLES2 glGenVertexArrays(1, &_id); + #else + //glGenVertexArraysOES(1, &_id); + CORRADE_INTERNAL_ASSERT(false); #endif } @@ -260,6 +263,9 @@ void Mesh::destroyImplementationVAO() { /** @todo Get some extension wrangler instead to avoid linker errors to glDeleteVertexArrays() on ES2 */ #ifndef MAGNUM_TARGET_GLES2 glDeleteVertexArrays(1, &_id); + #else + //glDeleteVertexArraysOES(1, &_id); + CORRADE_INTERNAL_ASSERT(false); #endif }