mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
libobs/graphics: Avoid darray recycle
Reset size instead of capacity.
This commit is contained in:
parent
7217671eb0
commit
e6ab8106aa
@ -129,7 +129,7 @@ void gs_technique_end(gs_technique_t *tech)
|
||||
for (i = 0; i < effect->params.num; i++) {
|
||||
struct gs_effect_param *param = params + i;
|
||||
|
||||
da_free(param->cur_val);
|
||||
da_resize(param->cur_val, 0);
|
||||
param->changed = false;
|
||||
if (param->next_sampler)
|
||||
param->next_sampler = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user