mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fixed compute program shader ref counting.
This commit is contained in:
@@ -3283,6 +3283,7 @@ namespace bgfx
|
||||
ProgramHandle handle = { idx };
|
||||
ProgramRef& pr = m_programRef[handle.idx];
|
||||
++pr.m_refCount;
|
||||
shaderIncRef(pr.m_vsh);
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user