Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Free all allocated memory and open file/image. #11

Open
fluffy-kaiju opened this issue Nov 21, 2022 · 2 comments
Open

Free all allocated memory and open file/image. #11

fluffy-kaiju opened this issue Nov 21, 2022 · 2 comments
Assignees

Comments

@fluffy-kaiju
Copy link
Contributor

	//TODO Free all allocated memory and open file/image.

* in the memory.

@fluffy-kaiju fluffy-kaiju self-assigned this Nov 22, 2022
@fluffy-kaiju fluffy-kaiju pinned this issue Nov 22, 2022
@fluffy-kaiju
Copy link
Contributor Author

fluffy-kaiju commented Nov 29, 2022

Todo

@fluffy-kaiju fluffy-kaiju assigned willaCS and unassigned fluffy-kaiju Nov 29, 2022
@fluffy-kaiju
Copy link
Contributor Author

fluffy-kaiju commented Dec 13, 2022

Use vec_init function ptr param for the mlx image

remove while loop and put as function

i = '!';
while (i < 125)
{
tmp = get_tex_ptr(&data->tex_list, i);
if (tmp && tmp->token && tmp->image)
destroy_image(data->param.mlx, tmp->image);
i++;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants