forked from organicmaps/organicmaps
fix
This commit is contained in:
parent
cc0787c79f
commit
6484ef4cc9
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ namespace graphics
|
|||
else
|
||||
{
|
||||
m_isUsingMapBuffer = false;
|
||||
OGLCHECK(glBufferSubDataFn(m_target, 0, m_size, m_gpuData));
|
||||
OGLCHECK(glBufferDataFn(m_target, m_size, m_gpuData, GL_DYNAMIC_DRAW));
|
||||
SharedBufferManager::instance().freeSharedBuffer(m_size, m_sharedBuffer);
|
||||
m_sharedBuffer.reset();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue