mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
Partial font texture update (#1149)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use wasm_bindgen::prelude::JsValue;
|
||||
|
||||
pub trait Painter {
|
||||
fn set_texture(&mut self, tex_id: egui::TextureId, image: egui::ImageData);
|
||||
fn set_texture(&mut self, tex_id: egui::TextureId, delta: &egui::epaint::ImageDelta);
|
||||
|
||||
fn free_texture(&mut self, tex_id: egui::TextureId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user