Function Free-Image
(
free-image < img > )
Parameters
img
Pointer to a GLFWimage struct.
Description
The function frees any memory occupied by a loaded image, and clears all the fields of the GLFWimage
struct. Any image that has been loaded by the glfwReadImage function should be deallocated using
this function, once the image is not needed anymore.