mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
Fixed compute program.
This commit is contained in:
parent
c93d8db523
commit
7acf2b2616
1 changed files with 2 additions and 0 deletions
|
@ -2812,6 +2812,8 @@ namespace bgfx
|
|||
pr.m_fsh = fsh;
|
||||
pr.m_refCount = 1;
|
||||
|
||||
m_programHashMap.insert(stl::make_pair(uint32_t(_vsh.idx), handle) );
|
||||
|
||||
CommandBuffer& cmdbuf = getCommandBuffer(CommandBuffer::CreateProgram);
|
||||
cmdbuf.write(handle);
|
||||
cmdbuf.write(_vsh);
|
||||
|
|
Loading…
Reference in a new issue