DRW: Fix ubo binding code.
This commit is contained in:
parent
04b8b1a167
commit
8a9be95cfb
Notes:
blender-bot
2023-02-14 06:06:32 +01:00
Referenced by issue #54371, Memory Leak closing from menu
|
@ -748,7 +748,7 @@ static void bind_ubo(GPUUniformBuffer *ubo, char bind_type)
|
|||
}
|
||||
GPU_uniformbuffer_bind(ubo, index);
|
||||
DST.RST.bound_ubos[index] = ubo;
|
||||
slot_flags[bind_num] = bind_type;
|
||||
slot_flags[index] = bind_type;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue