mirror of
https://github.com/AxioDL/boo.git
synced 2025-06-30 18:33:35 +00:00
Fix release derp
This commit is contained in:
parent
bb35ded399
commit
11cc456b4e
@ -590,8 +590,10 @@ IGraphicsDataToken GLDataFactory::commit()
|
|||||||
return IGraphicsDataToken(this, nullptr);
|
return IGraphicsDataToken(this, nullptr);
|
||||||
std::unique_lock<std::mutex> lk(m_committedMutex);
|
std::unique_lock<std::mutex> lk(m_committedMutex);
|
||||||
GLData* retval = m_deferredData;
|
GLData* retval = m_deferredData;
|
||||||
|
#ifndef NDEBUG
|
||||||
for (std::unique_ptr<GLShaderDataBinding>& b : retval->m_SBinds)
|
for (std::unique_ptr<GLShaderDataBinding>& b : retval->m_SBinds)
|
||||||
b->m_committed = true;
|
b->m_committed = true;
|
||||||
|
#endif
|
||||||
m_deferredData = nullptr;
|
m_deferredData = nullptr;
|
||||||
m_committedData.insert(retval);
|
m_committedData.insert(retval);
|
||||||
/* Let's go ahead and flush to ensure our data gets to the GPU
|
/* Let's go ahead and flush to ensure our data gets to the GPU
|
||||||
|
Loading…
x
Reference in New Issue
Block a user