1
1
Fork 0
mirror of https://github.com/griffi-gh/hUI.git synced 2025-03-31 21:16:28 -05:00

remove commented out winit 29 support

This commit is contained in:
griffi-gh 2025-03-11 16:08:19 +01:00
parent a1b23ff13b
commit c7c66d5e39
2 changed files with 1 additions and 11 deletions
hui-winit

View file

@ -19,12 +19,9 @@ include = [
[dependencies]
hui = { version = "=0.1.0-alpha.7", path = "../hui", default-features = false }
winit = { version = "0.30", default-features = false, features = ["x11"] }
# winit_30 = { package = "winit", version = "0.30", default-features = false, optional = true }
# winit_29 = { package = "winit", version = "0.29", default-features = false, optional = true }
glam = "0.30"
log = "0.4"
[features]
default = []
# winit_30 = ["dep:winit_30"]
# winit_29 = ["dep:winit_29"]

View file

@ -1,10 +1,3 @@
// #[cfg(all(feature = "winit_30", feature = "winit_29"))]
// compile_error!("Only one of the winit_30 and winit_29 features can be enabled at a time");
// #[cfg(not(any(feature = "winit_30", feature = "winit_29")))]
// compile_error!("One of the winit_30 and winit_29 features must be enabled");
// #[cfg(feature = "winit_30")] extern crate winit_30 as winit;
// #[cfg(feature = "winit_29")] extern crate winit_29 as winit;
use glam::vec2;
use hui::{event::UiEvent, UiInstance};
use winit::event::{Event, WindowEvent, MouseButton, ElementState};