DRW: Fix ubo binding code.

This commit is contained in:
Clément Foucault 2018-03-20 15:07:38 +01:00
parent 04b8b1a167
commit 8a9be95cfb
Notes: blender-bot 2023-02-14 06:06:32 +01:00
Referenced by issue #54371, Memory Leak closing from menu
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}