finxing memory usages

This commit is contained in:
2024-12-16 01:24:25 +01:00
parent 5b726fe74a
commit feb3fcbd1f
24 changed files with 315 additions and 79 deletions

View File

@@ -6,7 +6,7 @@
/* By: maldavid <contact@kbz8.me> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/04 16:56:35 by maldavid #+# #+# */
/* Updated: 2024/12/15 01:58:12 by maldavid ### ########.fr */
/* Updated: 2024/12/15 13:59:00 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
@@ -78,7 +78,6 @@ MLX_API void mlx_destroy_context(mlx_context mlx);
*/
typedef struct mlx_window_create_info
{
void* mlx_extension;
const char* title;
int width;
int height;

View File

@@ -6,7 +6,7 @@
/* By: maldavid <contact@kbz8.me> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/12/14 16:17:10 by maldavid #+# #+# */
/* Updated: 2024/12/14 17:42:06 by maldavid ### ########.fr */
/* Updated: 2024/12/15 13:58:58 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
@@ -26,16 +26,6 @@ extern "C" {
/* Window related functions */
typedef struct mlx_window_create_info_extension
{
int position_x;
int position_y;
int max_width;
int max_height;
int min_width;
int min_height;
} mlx_window_create_info_extension;
/**
* @brief Sets maximum window size
*