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

SDL init crash #42

Open
Kbz-8 opened this issue Jan 24, 2024 · 4 comments
Open

SDL init crash #42

Kbz-8 opened this issue Jan 24, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Kbz-8
Copy link
Member

Kbz-8 commented Jan 24, 2024

#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

@Kbz-8 Kbz-8 added the bug Something isn't working label Jan 24, 2024
Copy link

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 Kbz-8 assigned Kbz-8 and y-syo Jan 24, 2024
@Kbz-8
Copy link
Member Author

Kbz-8 commented Feb 25, 2024

can't reproduce, wtf

@Kbz-8
Copy link
Member Author

Kbz-8 commented Feb 25, 2024

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

@y-syo
Copy link
Member

y-syo commented Feb 25, 2024

i guess that's a skill issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants