1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 14:50:03 -04:00

Make egui_wgpu::renderer a private module (#3979)

All its contents is exported to the top-level
This commit is contained in:
Emil Ernerfeldt
2024-02-05 15:12:59 +01:00
committed by GitHub
parent 1858167296
commit 217e066626
5 changed files with 9 additions and 10 deletions

View File

@@ -2,7 +2,7 @@ use std::num::NonZeroU64;
use eframe::{
egui_wgpu::wgpu::util::DeviceExt,
egui_wgpu::{self, renderer::ScreenDescriptor, wgpu},
egui_wgpu::{self, wgpu},
};
pub struct Custom3d {
@@ -148,7 +148,7 @@ impl egui_wgpu::CallbackTrait for CustomTriangleCallback {
&self,
device: &wgpu::Device,
queue: &wgpu::Queue,
_screen_descriptor: &ScreenDescriptor,
_screen_descriptor: &egui_wgpu::ScreenDescriptor,
_egui_encoder: &mut wgpu::CommandEncoder,
resources: &mut egui_wgpu::CallbackResources,
) -> Vec<wgpu::CommandBuffer> {