parent
433d1fc239
commit
dbf9b79d06
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue