OpenGLRenderer: Fix buffer destruction not removing VAOs referencing it
This commit is contained in:
@@ -54,7 +54,7 @@ namespace Nz::GL
|
||||
return *(it->second);
|
||||
}
|
||||
|
||||
void OpenGLVaoCache::NotifyBufferDestruction(GLuint buffer)
|
||||
void OpenGLVaoCache::NotifyBufferDestruction(GLuint buffer) const
|
||||
{
|
||||
for (auto it = m_vertexArrays.begin(); it != m_vertexArrays.end();)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user