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

GLFW_VK backend #360

Merged
merged 2 commits into from
Sep 19, 2022
Merged

GLFW_VK backend #360

merged 2 commits into from
Sep 19, 2022

Conversation

wh1t3lord
Copy link
Contributor

@wh1t3lord wh1t3lord commented Sep 14, 2022

Tested resizing (minimizing) and samples worked well.

I suggest to test them on your own too, but I don't think that there's something wrong. ¯_(ツ)_/¯

Also take a notice to section where SDL_Delay was used, I mean is it fine to use thread? Because glfw doesn't provide (or I didn't find it) the functionality to sleep the thread. So I choice a such variant.

Otherwise if you agreed with a such solution (I mean about this_thread) you can delete the commentary of SDL code.

Don't forget to add new backend for CI.

@mikke89 mikke89 added the backends Platforms and renderers label Sep 15, 2022
@mikke89
Copy link
Owner

mikke89 commented Sep 15, 2022

Thanks for the PR!

This looks good to me. I just tested it and didn't find any issues.

I think using this_thread for sleep is the right approach. If you could just remove the commented out code then I will merge this :)

@wh1t3lord
Copy link
Contributor Author

@mikke89 I deleted the commentary as you asked.

@mikke89 mikke89 merged commit 2a95146 into mikke89:master Sep 19, 2022
@mikke89
Copy link
Owner

mikke89 commented Sep 19, 2022

Perfect, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backends Platforms and renderers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants