mirror of https://github.com/bkaradzic/bgfx
Fixed compute program.
This commit is contained in:
parent
c93d8db523
commit
7acf2b2616
|
@ -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 New Issue