1
0
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:
Emil Ernerfeldt
2022-05-22 17:40:56 +02:00
parent 5d15e3d367
commit a29154233b
10 changed files with 17 additions and 12 deletions

View File

@@ -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;