seekrs / MacroLibX

✏️ Rewritten version of the minilibx graphics API used at 42school, using SDL2 & Vulkan.
https://macrolibx.kbz8.me
MIT License
29 stars 3 forks source link

SDL init crash #42

Open Kbz-8 opened 8 months ago

Kbz-8 commented 8 months ago
#include <mlx.h>

int main()
{
    void* mlx = mlx_init();
    mlx_destroy_display(mlx);

    mlx = mlx_init(); // crash with SDL_Init
    mlx_destroy_display(mlx);

    return 0;
}

wtf

github-actions[bot] commented 8 months ago

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem (OS, MLX version, drivers installed, GPU type and vendor, ...)

Kbz-8 commented 7 months ago

can't reproduce, wtf

Kbz-8 commented 7 months ago

the example works, I don't know what the bro did

y-syo commented 7 months ago

i guess that's a skill issue