mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 22:30:03 -04:00
Add support for texture filters in WGPU backend
This commit is contained in:
@@ -20,7 +20,7 @@ pub use glow::Context;
|
||||
const VERT_SRC: &str = include_str!("shader/vertex.glsl");
|
||||
const FRAG_SRC: &str = include_str!("shader/fragment.glsl");
|
||||
|
||||
pub type TextureFilter = egui::epaint::textures::TextureFilter;
|
||||
pub type TextureFilter = egui::TextureFilter;
|
||||
|
||||
trait TextureFilterExt {
|
||||
fn glow_code(&self) -> u32;
|
||||
|
||||
Reference in New Issue
Block a user