summaryrefslogtreecommitdiff
path: root/engine/src/rendering/backend
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-10-07 12:00:39 +0200
committerHampusM <hampus@hampusmat.com>2026-10-07 12:00:39 +0200
commitf0eecb236053523e8df6201285faa35a98b18e92 (patch)
tree22a4aa6148966b5dc0b6a4d8a9f190ea62106dfc /engine/src/rendering/backend
parent438fee7444ce43ab45f14c023e8a7f6b9fb267e6 (diff)
fix(engine): fix Windows compilation error in rendering::backend::opengl::glutin_compatHEADmaster
Diffstat (limited to 'engine/src/rendering/backend')
-rw-r--r--engine/src/rendering/backend/opengl/glutin_compat.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/src/rendering/backend/opengl/glutin_compat.rs b/engine/src/rendering/backend/opengl/glutin_compat.rs
index 0bdfcd2..bba8c55 100644
--- a/engine/src/rendering/backend/opengl/glutin_compat.rs
+++ b/engine/src/rendering/backend/opengl/glutin_compat.rs
@@ -181,12 +181,12 @@ fn create_display(
) -> Result<Display, GlutinError>
{
let preference = cfg_select! {
- windows => match _api_preference {
+ windows => match api_preference {
ApiPreference::PreferEgl => {
- DisplayApiPreference::EglThenWgl(_raw_window_handle)
+ DisplayApiPreference::EglThenWgl(raw_window_handle)
}
ApiPreference::FallbackEgl => {
- DisplayApiPreference::WglThenEgl(_raw_window_handle)
+ DisplayApiPreference::WglThenEgl(raw_window_handle)
}
},
target_os = "linux" => match api_preference {