Skip to content

Commit

Permalink
Fix egui_kittest#wgpu dependency to eframe feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Jan 3, 2025
1 parent a837994 commit bb92590
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/egui_kittest/src/wgpu.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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."
);
Expand Down

0 comments on commit bb92590

Please sign in to comment.