fixed crash in RenderAssignBuffer.cpp because not check ubo_mi before use.

This commit is contained in:
HuYingzhuo(hugo/hyzboy) 2023-09-19 21:07:07 +08:00
parent cef5ad073b
commit 164498446a

View File

@ -59,6 +59,7 @@ void RenderAssignBuffer::WriteNode(RenderNode *render_node,const uint count,cons
Alloc(count,mi_set.GetCount());
if(ubo_mi)
{
uint8 *mip=(uint8 *)(ubo_mi->Map());