Closed sotrh closed 1 year ago
Hey,
Thanks for the praise, just notice that minifb isn't really indeded as a "full blown" windowing library so you may miss features down the line.
That being said minifb already supports raw_window_handle
https://github.com/emoon/rust_minifb/blob/master/src/lib.rs#L148
Oh good to know!
I just noticed that minifb uses raw_window_handle
version 0.4
while there is a 0.5
version now. I don't know how much they differ in terms of API compatibility, but just keep that in mind if something doesn't seem to work correctly. Then it might be that:
I noticed that you you are working on adding gpu support manually, and I thought I'd mention that the raw_window_handle crate is a thing. Adding support for that would allow people such as myself to use
minifb
withwgpu
.Regardless it's nice to see some pure Rust alternatives to
winit
. Whilewinit
is robust and supports a lot of platforms, it's nice to have complete control over the game loop.