diff options
-rw-r--r-- | drape/vertex_array_buffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drape/vertex_array_buffer.cpp b/drape/vertex_array_buffer.cpp index fa7d78d114..e4dab7b1af 100644 --- a/drape/vertex_array_buffer.cpp +++ b/drape/vertex_array_buffer.cpp @@ -275,9 +275,9 @@ void VertexArrayBuffer::ApplyMutation(ref_ptr<IndexBufferMutator> indexMutator, bool VertexArrayBuffer::Bind() const { - ASSERT(m_VAO != 0, ("You need to call Build method before bind it and render")); if (GLExtensionsList::Instance().IsSupported(GLExtensionsList::VertexArrayObject)) { + ASSERT(m_VAO != 0, ("You need to call Build method before bind it and render")); GLFunctions::glBindVertexArray(m_VAO); return true; } |