mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Remove deprecated functions (#3692)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#![allow(deprecated)]
|
||||
|
||||
use egui::{mutex::Mutex, TextureFilter, TextureOptions};
|
||||
use egui::{mutex::Mutex, TextureOptions};
|
||||
|
||||
#[cfg(feature = "svg")]
|
||||
pub use usvg::FitTo;
|
||||
@@ -123,14 +123,6 @@ impl RetainedImage {
|
||||
self
|
||||
}
|
||||
|
||||
#[deprecated = "Use with_options instead"]
|
||||
pub fn with_texture_filter(self, filter: TextureFilter) -> Self {
|
||||
self.with_options(TextureOptions {
|
||||
magnification: filter,
|
||||
minification: filter,
|
||||
})
|
||||
}
|
||||
|
||||
/// The size of the image data (number of pixels wide/high).
|
||||
pub fn size(&self) -> [usize; 2] {
|
||||
self.size
|
||||
|
||||
Reference in New Issue
Block a user