-
-
Notifications
You must be signed in to change notification settings - Fork 10
Update to bevy 0.14! #21
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
base: master
Are you sure you want to change the base?
Conversation
|
I don't know if this is possible. Winit 0.28 uses raw-window-handle 0.5, whereas bevy uses raw-window-handle 0.6. This makes RawHandleWrapper impossible to construct, at least as far as I can tell. Perhaps this pull request should use the master branch of vulkano (Uses raw-window-handle 0.6.), until they release the next version? (Shouldn't be too difficult, I'll see if I can work it out!) |
|
This should probably be updated to winit-0.30 (at least 0.29 should be easy). Also, it should be possible to set the rwh version using winit features. |
It at least compiles.
|
I think I've come up with a better solution! I think. We can just listen to the window create and close events, and sync vulkano renderers with them. This makes the code a lot simpler. I don't know if this works though, as whenever I try run the game of life example, my whole computer freezes, and I can't work out why. |
|
Somehow the game of life example started working! I have no idea why! |
I tried to update this to bevy 0.14, but I know nothing about bevy, vulkano, and winit, so I failed miserably. It at least compiles, and some examples even work (unless you move the mouse...)! Hopefully you'll be able to ctrl F "todo" and fix everything that I could not!
(Also I added a .cargo folder, and some stuff at the top of cargo.toml so that I could compile quickly.)