diff options
Diffstat (limited to 'engine/src')
| -rw-r--r-- | engine/src/rendering/backend/opengl/glutin_compat.rs | 6 |
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 { |
