mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05: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_numPredefined = 0;
|
||||
|
||||
m_renderPipelineStateCache.invalidate();
|
||||
}
|
||||
|
||||
UniformType::Enum convertMtlType(MTLDataType _type)
|
||||
|
|
Loading…
Reference in a new issue