mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
update usage of Texture::from_ll() to take self as a parameter
This commit is contained in:
@@ -135,7 +135,7 @@ impl<'a> LoadTexture for Renderer<'a> {
|
||||
if raw == ptr::null() {
|
||||
Err(get_error())
|
||||
} else {
|
||||
Ok(Texture::from_ll(raw))
|
||||
Ok(Texture::from_ll(self, raw))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user