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

Render while resizing #182

Open
stellanhaglund opened this issue Jan 10, 2025 · 2 comments
Open

Render while resizing #182

stellanhaglund opened this issue Jan 10, 2025 · 2 comments

Comments

@stellanhaglund
Copy link

Hi!

What are my options if I want to allow rendering while resizing?

Could the rendering be threaded, or does it with sdl?

@Zettexe
Copy link
Contributor

Zettexe commented Jan 10, 2025

From what I remember of using SDL it depends a bit on which platform you are using it on and how you get the resize events. Regardless this is more of an sdl issue than clay.

@kattkieru
Copy link

Switch to SDL3 + main callbacks instead of main(). It's working already. It will likely never work in SDL2.

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

3 participants