declantsien / emacs-ng

Emacs Webrender front
https://github.com/declantsien/emacs-webrender
GNU General Public License v3.0
8 stars 0 forks source link

Fix winit #2

Closed 2e0byo closed 1 year ago

2e0byo commented 1 year ago

Allow compiling against both winit and tao.

I'm not sure how idiomatic this all is, particularly the adapters. I also can't actually run it, since it panics, but both build and panic. Interestingly tao gets the right scale factor.

declantsien commented 1 year ago

Whops, I removed cfg mess by removing winit features on my tao branch. I would suggest that you work against emacs-ng/emacs-ng master branch.

Tried this branch, build with winit works.