mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-03-23 21:29:51 -04:00
Merge pull request #568 from marco-we/metal_destroy_program_invalidate_cache_fix
Added invalidation of renderpipeline state cache. In case the program…
This commit is contained in:
commit
2f8bbfb758
1 changed files with 2 additions and 0 deletions
|
@ -1453,6 +1453,8 @@ namespace bgfx { namespace mtl
|
||||||
|
|
||||||
m_processedUniforms = false;
|
m_processedUniforms = false;
|
||||||
m_numPredefined = 0;
|
m_numPredefined = 0;
|
||||||
|
|
||||||
|
m_renderPipelineStateCache.invalidate();
|
||||||
}
|
}
|
||||||
|
|
||||||
UniformType::Enum convertMtlType(MTLDataType _type)
|
UniformType::Enum convertMtlType(MTLDataType _type)
|
||||||
|
|
Loading…
Add table
Reference in a new issue