Fix leak caused by wrong ownership flag
This commit is contained in:
parent
a2989b89c3
commit
5b026486e4
Notes:
blender-bot
2023-02-14 06:38:12 +01:00
Referenced by issue #52593, Eevee: viewport issues before toggling AO support
|
@ -165,6 +165,6 @@ Gwn_Batch *BLI_displist_batch_calc_surface(ListBase *lb)
|
|||
|
||||
return GWN_batch_create_ex(
|
||||
GWN_PRIM_TRIS, vbo, GWN_indexbuf_build(&elb),
|
||||
GWN_BATCH_OWNS_VBO | GWN_BATCH_OWNS_VBO);
|
||||
GWN_BATCH_OWNS_VBO | GWN_BATCH_OWNS_INDEX);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue