mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
Specify deifferent minification and magnification filters (#2224)
* Specify deifferent minification and magnification filters * Fixes * Update changelogs * Doctest fixes * Add deprecation notice for RetainedImage::with_texture_filter
This commit is contained in:
@@ -596,11 +596,8 @@ impl ItemsDemo {
|
||||
};
|
||||
|
||||
let texture: &egui::TextureHandle = self.texture.get_or_insert_with(|| {
|
||||
ui.ctx().load_texture(
|
||||
"plot_demo",
|
||||
egui::ColorImage::example(),
|
||||
egui::TextureFilter::Linear,
|
||||
)
|
||||
ui.ctx()
|
||||
.load_texture("plot_demo", egui::ColorImage::example(), Default::default())
|
||||
});
|
||||
let image = PlotImage::new(
|
||||
texture,
|
||||
|
||||
Reference in New Issue
Block a user