Update OpenGLVaoCache.cpp
This commit is contained in:
parent
98e20ecbb7
commit
7a7a67cd40
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue