mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
@@ -156,7 +156,7 @@ impl RetainedImage {
|
|||||||
&self.debug_name
|
&self.debug_name
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The texture if for this image.
|
/// The texture id for this image.
|
||||||
pub fn texture_id(&self, ctx: &egui::Context) -> egui::TextureId {
|
pub fn texture_id(&self, ctx: &egui::Context) -> egui::TextureId {
|
||||||
self.texture
|
self.texture
|
||||||
.lock()
|
.lock()
|
||||||
|
|||||||
Reference in New Issue
Block a user