mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -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:
@@ -18,7 +18,7 @@ fn main() {
|
||||
// Allocate egui's texture id for GL texture
|
||||
let texture_id = egui_glium
|
||||
.painter
|
||||
.register_native_texture(glium_texture, egui::TextureFilter::Linear);
|
||||
.register_native_texture(glium_texture, Default::default());
|
||||
// Setup button image size for reasonable image size for button container.
|
||||
let button_image_size = egui::vec2(32_f32, 32_f32);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user