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_Renderer is not being created properly on Windows #12019

Closed
ChedRed opened this issue Jan 19, 2025 · 2 comments
Closed

SDL_Renderer is not being created properly on Windows #12019

ChedRed opened this issue Jan 19, 2025 · 2 comments

Comments

@ChedRed
Copy link
Contributor

ChedRed commented Jan 19, 2025

I installed the latest version of SDL3 and compiled my program, but it failed to show a window. SDL_GetError() says Couldn't find matching render driver.

I created the renderer with SDL_CreateRenderer(Window, NULL); The renderer was created when I input SDL_GetRenderDriver(0) in place of the NULL.

This only occurs on Windows.

@slouken
Copy link
Collaborator

slouken commented Jan 19, 2025

It sounds like you’ve set a hint or environment variable to an invalid renderer.

@ChedRed
Copy link
Contributor Author

ChedRed commented Jan 19, 2025

oops you're right

@ChedRed ChedRed closed this as completed Jan 19, 2025
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