nicebyte / nicegraf

An abstraction layer for graphics APIs.
198 stars 13 forks source link

Refactoring ngfi_sa #173

Closed abm-77 closed 1 year ago

abm-77 commented 1 year ago

ngfi_sa will now allocate new ngfi_sa blocks as it runs out of storage. When ngfi_sa_reset is called, all blocks except for the original are freed. when ngfi_sa_destroy is called, all blocks are freed (by making a call to ngfi_sa_rest and then freeing the base pointer). New test cases were also added to test changes.

abm-77 commented 1 year ago

Sorry for all of the commits; I did not realize I could test locally :(