diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2018-11-26 18:37:23 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2018-11-26 18:37:23 -0800 |
commit | deb34d3fb4990997101e37f54a334e3f72e77540 (patch) | |
tree | 10b468c1ac25a1ae14271fe5d740b2972ac79894 /src/example.c | |
parent | bd80a482ee9e8cc7500e1d31625935f4902f78b8 (diff) |
libpulp: add pulp_reset()
It's useful to be able to wipe out a pulp instance but reuse its
allocations as a fresh pulp instance.
This also fixes a context leak in pulp_free() by making it call
pulp_reset(). (only relevant to win32 where destroy_context()
does something)
Diffstat (limited to 'src/example.c')
0 files changed, 0 insertions, 0 deletions