Update OpenGLVaoCache.cpp

This commit is contained in:
Jérôme Leclercq 2020-09-17 18:54:41 +02:00
parent 98e20ecbb7
commit 7a7a67cd40
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ namespace Nz::GL
it = m_vertexArrays.emplace(setup, std::make_unique<VertexArray>(std::move(vao))).first; it = m_vertexArrays.emplace(setup, std::make_unique<VertexArray>(std::move(vao))).first;
} }
return *it->second; return *(it->second);
} }
void OpenGLVaoCache::NotifyBufferDestruction(GLuint buffer) void OpenGLVaoCache::NotifyBufferDestruction(GLuint buffer)