some cleanup from clippy
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 9m20s
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 9m20s
This commit is contained in:
parent
b1458785e5
commit
1568223b9d
11 changed files with 30 additions and 38 deletions
|
@ -148,7 +148,7 @@ impl ApplicationContext {
|
|||
|
||||
/// Récupère les résolutions disponibles
|
||||
pub fn get_available_resolutions(&self) -> Vec<(u32, u32)> {
|
||||
self.with_renderer(|renderer| Self::get_monitor_resolutions(&renderer.window()))
|
||||
self.with_renderer(|renderer| Self::get_monitor_resolutions(renderer.window()))
|
||||
}
|
||||
|
||||
/// Récupère le delta time actuel depuis le timer
|
||||
|
@ -177,7 +177,7 @@ impl ApplicationContext {
|
|||
let renderer = vulkano_windows
|
||||
.get_renderer(self.window_id)
|
||||
.expect("Failed to get renderer");
|
||||
f(&renderer)
|
||||
f(renderer)
|
||||
}
|
||||
|
||||
/// Méthode utilitaire pour accéder au renderer de manière thread-safe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue