From bb92590bda701896a042c71be7337b8827d250f7 Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Fri, 3 Jan 2025 18:28:58 +0100 Subject: [PATCH] Fix egui_kittest#wgpu dependency to eframe feature --- crates/egui_kittest/src/wgpu.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/egui_kittest/src/wgpu.rs b/crates/egui_kittest/src/wgpu.rs index 54fb09020d0..20dc699fe85 100644 --- a/crates/egui_kittest/src/wgpu.rs +++ b/crates/egui_kittest/src/wgpu.rs @@ -1,7 +1,6 @@ use std::iter::once; use std::sync::Arc; -use eframe::epaint::TextureId; use egui::TexturesDelta; use egui_wgpu::{wgpu, RenderState, ScreenDescriptor, WgpuSetup}; use image::RgbaImage; @@ -102,7 +101,7 @@ impl WgpuTestRenderer { render_state .renderer .read() - .texture(&TextureId::Managed(0)) + .texture(&egui::epaint::TextureId::Managed(0)) .is_none(), "The RenderState passed in has been used before, pass in a fresh RenderState instead." );